blob: e725413eb02f491987110bd7fe7387ff775747e1 [file] [log] [blame]
This test checks various Runtime functions.
Running: substituteURL
"no url here" -> "no url here"
"@url()" -> "fake_module/"
"@url(file.js)" -> "fake_module/file.js"
"before @url(long/path/to/the/file.png) after" -> "before fake_module/long/path/to/the/file.png after"
"@url(first.png)@url(second.gif)" -> "fake_module/first.pngfake_module/second.gif"
"a lot of @url(stuff) in a@url(single)line and more url() @@url (not/a/resource.gif)" -> "a lot of fake_module/stuff in afake_module/singleline and more url() @@url (not/a/resource.gif)"