@@ -93,16 +93,17 @@ public function testFullApplicationLoad()
93
93
return $ link ->attr ('href ' );
94
94
});
95
95
$ this ->assertCount (11 , $ preLoadHrefs );
96
+ sort ($ preLoadHrefs );
97
+ $ this ->assertStringStartsWith ('/assets/@symfony/stimulus-bundle/controllers- ' , $ preLoadHrefs [0 ]);
96
98
$ this ->assertStringStartsWith ('/assets/@symfony/stimulus-bundle/loader- ' , $ preLoadHrefs [1 ]);
97
- $ this ->assertStringStartsWith ('/assets/vendor/@hotwired/stimulus/stimulus.index ' , $ preLoadHrefs [2 ]);
98
- $ this ->assertStringStartsWith ('/assets/@symfony/stimulus-bundle/controllers- ' , $ preLoadHrefs [3 ]);
99
- $ this ->assertStringStartsWith ('/assets/fake-vendor/ux-package2/package-hello-controller- ' , $ preLoadHrefs [4 ]);
100
- $ this ->assertStringStartsWith ('/assets/controllers/hello-with-dashes-controller- ' , $ preLoadHrefs [5 ]);
99
+ $ this ->assertStringStartsWith ('/assets/controllers/hello-with-dashes-controller- ' , $ preLoadHrefs [3 ]);
100
+ $ this ->assertStringStartsWith ('/assets/controllers/hello_with_underscores-controller- ' , $ preLoadHrefs [4 ]);
101
+ $ this ->assertStringStartsWith ('/assets/controllers/subdir/deeper-controller- ' , $ preLoadHrefs [5 ]);
101
102
$ this ->assertStringStartsWith ('/assets/controllers/subdir/deeper-with-dashes-controller- ' , $ preLoadHrefs [6 ]);
102
- $ this ->assertStringStartsWith ('/assets/controllers/subdir/deeper -controller- ' , $ preLoadHrefs [7 ]);
103
- $ this ->assertStringStartsWith ('/assets/controllers/subdir/deeper_with_underscores -controller- ' , $ preLoadHrefs [8 ]);
103
+ $ this ->assertStringStartsWith ('/assets/controllers/subdir/deeper_with_underscores -controller- ' , $ preLoadHrefs [7 ]);
104
+ $ this ->assertStringStartsWith ('/assets/fake-vendor/ux-package2/package-hello -controller- ' , $ preLoadHrefs [8 ]);
104
105
$ this ->assertStringStartsWith ('/assets/more-controllers/hello-controller- ' , $ preLoadHrefs [9 ]);
105
- $ this ->assertStringStartsWith ('/assets/controllers/hello_with_underscores-controller- ' , $ preLoadHrefs [10 ]);
106
+ $ this ->assertStringStartsWith ('/assets/vendor/@hotwired/stimulus/stimulus.index ' , $ preLoadHrefs [10 ]);
106
107
} else {
107
108
// legacy
108
109
$ this ->assertSame ([
0 commit comments