@@ -30,87 +30,95 @@ public function testGet()
3030 $ routes = $ collector ->get ();
3131
3232 $ expected = [
33- 0 => [
33+ [
3434 0 => 'auto ' ,
3535 1 => 'hello ' ,
3636 2 => '\\Tests \\Support \\Controllers \\Hello::index ' ,
3737 ],
38- 1 => [
38+ [
3939 0 => 'auto ' ,
4040 1 => 'hello/index[/...] ' ,
4141 2 => '\\Tests \\Support \\Controllers \\Hello::index ' ,
4242 ],
43- 2 => [
43+ [
44+ 0 => 'auto ' ,
45+ 1 => 'newautorouting/getIndex[/...] ' ,
46+ 2 => '\Tests\Support\Controllers\Newautorouting::getIndex ' ,
47+ ],
48+ [
49+ 0 => 'auto ' ,
50+ 1 => 'newautorouting/postSave[/...] ' ,
51+ 2 => '\Tests\Support\Controllers\Newautorouting::postSave ' ,
52+ ],
53+ [
4454 0 => 'auto ' ,
4555 1 => 'popcorn ' ,
4656 2 => '\\Tests \\Support \\Controllers \\Popcorn::index ' ,
4757 ],
48- 3 => [
58+ [
4959 0 => 'auto ' ,
5060 1 => 'popcorn/index[/...] ' ,
5161 2 => '\\Tests \\Support \\Controllers \\Popcorn::index ' ,
5262 ],
53- 4 => [
63+ [
5464 0 => 'auto ' ,
5565 1 => 'popcorn/pop[/...] ' ,
5666 2 => '\\Tests \\Support \\Controllers \\Popcorn::pop ' ,
5767 ],
58- 5 => [
68+ [
5969 0 => 'auto ' ,
6070 1 => 'popcorn/popper[/...] ' ,
6171 2 => '\\Tests \\Support \\Controllers \\Popcorn::popper ' ,
6272 ],
63- 6 => [
73+ [
6474 0 => 'auto ' ,
6575 1 => 'popcorn/weasel[/...] ' ,
6676 2 => '\\Tests \\Support \\Controllers \\Popcorn::weasel ' ,
6777 ],
68- 7 => [
78+ [
6979 0 => 'auto ' ,
7080 1 => 'popcorn/oops[/...] ' ,
7181 2 => '\\Tests \\Support \\Controllers \\Popcorn::oops ' ,
72- ],
73- 8 => [
82+ ], [
7483 0 => 'auto ' ,
7584 1 => 'popcorn/goaway[/...] ' ,
7685 2 => '\\Tests \\Support \\Controllers \\Popcorn::goaway ' ,
77- ],
78- 9 => [
86+ ], [
7987 0 => 'auto ' ,
8088 1 => 'popcorn/index3[/...] ' ,
8189 2 => '\\Tests \\Support \\Controllers \\Popcorn::index3 ' ,
8290 ],
83- 10 => [
91+ [
8492 0 => 'auto ' ,
8593 1 => 'popcorn/canyon[/...] ' ,
8694 2 => '\\Tests \\Support \\Controllers \\Popcorn::canyon ' ,
8795 ],
88- 11 => [
96+ [
8997 0 => 'auto ' ,
9098 1 => 'popcorn/cat[/...] ' ,
9199 2 => '\\Tests \\Support \\Controllers \\Popcorn::cat ' ,
92100 ],
93- 12 => [
101+ [
94102 0 => 'auto ' ,
95103 1 => 'popcorn/json[/...] ' ,
96104 2 => '\\Tests \\Support \\Controllers \\Popcorn::json ' ,
97105 ],
98- 13 => [
106+ [
99107 0 => 'auto ' ,
100108 1 => 'popcorn/xml[/...] ' ,
101109 2 => '\\Tests \\Support \\Controllers \\Popcorn::xml ' ,
102110 ],
103- 14 => [
111+ [
104112 0 => 'auto ' ,
105113 1 => 'popcorn/toindex[/...] ' ,
106114 2 => '\\Tests \\Support \\Controllers \\Popcorn::toindex ' ,
107115 ],
108- 15 => [
116+ [
109117 0 => 'auto ' ,
110118 1 => 'popcorn/echoJson[/...] ' ,
111119 2 => '\\Tests \\Support \\Controllers \\Popcorn::echoJson ' ,
112120 ],
113- 16 => [
121+ [
114122 0 => 'auto ' ,
115123 1 => 'remap[/...] ' ,
116124 2 => '\\Tests \\Support \\Controllers \\Remap::_remap ' ,
0 commit comments