mirror of
https://github.com/termux-pacman/termux-packages.git
synced 2026-01-28 21:52:39 +00:00
15 lines
471 B
Diff
15 lines
471 B
Diff
--- a/test/test_main.cpp
|
|
+++ b/test/test_main.cpp
|
|
@@ -241,9 +241,9 @@
|
|
|
|
TEST_CASE("Uri")
|
|
{
|
|
- StreamUri uri("pipe:///tmp/snapfifo?name=default&codec=flac");
|
|
+ StreamUri uri("pipe://@TERMUX_PREFIX@/tmp/snapfifo?name=default&codec=flac");
|
|
REQUIRE(uri.scheme == "pipe");
|
|
- REQUIRE(uri.path == "/tmp/snapfifo");
|
|
+ REQUIRE(uri.path == "@TERMUX_PREFIX@/tmp/snapfifo");
|
|
REQUIRE(uri.host.empty());
|
|
|
|
uri = StreamUri("wss://user:pass@localhost:1788");
|