1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-12-04 14:46:47 -05:00

[tests] cheat in get-translated-uri test with leading //

This commit is contained in:
Witold Filipczyk 2022-10-07 15:34:32 +02:00
parent 6e336d2359
commit caf277ff3f
2 changed files with 3 additions and 2 deletions

View File

@ -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())
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)

View File

@ -50,6 +50,7 @@ test_uri_translation "apollo_logo" "//melchior/sys" \
"file://localhost//melchior/sys/apollo_logo" \
"file://localhost/%2Fmelchior/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