Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/davidgiven/fluxengine
/ testJoin
Function
testJoin
tests/utils.cc:19–24 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
17
};
18
19
static void testJoin()
20
{
21
AssertThat(join({},
"/"
), Equals(
""
));
22
AssertThat(join({
"one"
},
"/"
), Equals(
"one"
));
23
AssertThat(join({
"one"
,
"two"
},
"/"
), Equals(
"one/two"
));
24
}
25
26
static void testLeftTrim()
27
{
Callers
1
main
Function · 0.85
Calls
1
join
Function · 0.50
Tested by
no test coverage detected