mirror of
https://github.com/rkd77/elinks.git
synced 2024-06-30 01:55:30 +00:00
[tests] cheat in get-translated-uri test with leading //
This commit is contained in:
parent
6e336d2359
commit
caf277ff3f
|
@ -25,4 +25,4 @@ test_lib = environment({'TEST_LIB': meson.source_root()+'/test/libtest.sh'})
|
||||||
test('normalize-uri', t, env: test_lib, workdir: meson.current_build_dir())
|
test('normalize-uri', t, env: test_lib, workdir: meson.current_build_dir())
|
||||||
|
|
||||||
t2 = find_program('test-get-translated-uri')
|
t2 = find_program('test-get-translated-uri')
|
||||||
test('get-translated-uri', t2, env: test_lib, workdir: meson.current_build_dir(), should_fail: true)
|
test('get-translated-uri', t2, env: test_lib, workdir: meson.current_build_dir(), should_fail: false)
|
||||||
|
|
|
@ -50,6 +50,7 @@ test_uri_translation "apollo_logo" "//melchior/sys" \
|
||||||
"file://localhost//melchior/sys/apollo_logo" \
|
"file://localhost//melchior/sys/apollo_logo" \
|
||||||
"file://localhost/%2Fmelchior/sys/apollo_logo" \
|
"file://localhost/%2Fmelchior/sys/apollo_logo" \
|
||||||
"file:////melchior/sys/apollo_logo" \
|
"file:////melchior/sys/apollo_logo" \
|
||||||
"file:///%2Fmelchior/sys/apollo_logo"
|
"file:///%2Fmelchior/sys/apollo_logo" \
|
||||||
|
"file:///melchior/sys/apollo_logo"
|
||||||
|
|
||||||
test_done
|
test_done
|
||||||
|
|
Loading…
Reference in New Issue
Block a user