File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -24,10 +24,10 @@ void main()
2424 // if no dependencies are fetched
2525 // or with all dependencies there a lot more
2626 assert (dub.imports.length >= 2 , dub.imports.to! string );
27- assert (dub.stringImports[$ - 1 ].endsWith(" views" )
28- || dub.stringImports[$ - 1 ].endsWith(" views/" )
29- || dub.stringImports[$ - 1 ].endsWith(" views\\ " ),
30- dub.stringImports.to! string ~ " doesn't end with `views`!" );
27+ assert (dub.stringImports[0 ].endsWith(" views" )
28+ || dub.stringImports[0 ].endsWith(" views/" )
29+ || dub.stringImports[0 ].endsWith(" views\\ " ),
30+ dub.stringImports.to! string ~ " [0] doesn't end with `views`!" );
3131 assert (dub.fileImports.length > 10 );
3232 assert (dub.configurations.length == 2 );
3333 assert (dub.buildTypes.length);
You can’t perform that action at this time.
0 commit comments