zig/test/cases/import.zig
Andrew Kelley af536ac343 introduce new test syntax
* remove setFnTest builtin
 * add test "name" { ... } syntax
 * remove --check-unused argument. functions are always lazy now.
2017-03-16 16:02:35 -04:00

7 lines
181 B
Zig

const assert = @import("std").debug.assert;
const a_namespace = @import("cases/import/a_namespace.zig");
test "callFnViaNamespaceLookup" {
assert(a_namespace.foo() == 1234);
}