test: cover directory package test graphs
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
package routing;
|
||||
|
||||
@test fn private_helper_first() void = {
|
||||
assert(privateproduction() == 8);
|
||||
assert(privatevalue() == 8);
|
||||
};
|
||||
|
||||
5
test/package/routing/detail.ww
Normal file
5
test/package/routing/detail.ww
Normal file
@@ -0,0 +1,5 @@
|
||||
package routing;
|
||||
|
||||
fn privateproduction() int = { return 8; };
|
||||
|
||||
export fn secondvalue() int = { return 9; };
|
||||
@@ -4,4 +4,5 @@ import routing;
|
||||
|
||||
@test fn external_package() void = {
|
||||
assert(routing.value() == 7);
|
||||
assert(routing.secondvalue() == 9);
|
||||
};
|
||||
|
||||
@@ -2,5 +2,6 @@ package routing;
|
||||
|
||||
@test fn same_package() void = {
|
||||
assert(value() == 7);
|
||||
assert(privateproduction() == 8);
|
||||
assert(privatevalue() == 8);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user