diff options
| -rw-r--r-- | tests/template/template_includejs_test.php | 4 | ||||
| -rw-r--r-- | tests/template/templates/includejs.html | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/tests/template/template_includejs_test.php b/tests/template/template_includejs_test.php index b644c8b6f0..d4a384a1c5 100644 --- a/tests/template/template_includejs_test.php +++ b/tests/template/template_includejs_test.php @@ -84,6 +84,10 @@ class phpbb_template_template_includejs_test extends phpbb_template_template_tes array('TEST' => 16), '<script type="text/javascript" src="http://phpbb.com/b.js?c=d&assets_version=1&assets_version=1#f"></script>', ), + array( + array('TEST' => 17), + '<script type="text/javascript" src="//phpbb.com/b.js?assets_version=1"></script>', + ), ); } diff --git a/tests/template/templates/includejs.html b/tests/template/templates/includejs.html index 030681337b..3bcad76af5 100644 --- a/tests/template/templates/includejs.html +++ b/tests/template/templates/includejs.html @@ -32,5 +32,7 @@ <!-- INCLUDEJS http://phpbb.com/b.js?c=d#f --> <!-- ELSEIF TEST === 16 --> <!-- INCLUDEJS http://phpbb.com/b.js?c=d&assets_version=1#f --> +<!-- ELSEIF TEST === 17 --> + <!-- INCLUDEJS //phpbb.com/b.js --> <!-- ENDIF --> {$SCRIPTS} |
