Commit 9dfbdeace6

Andrew Kelley <superjoe30@gmail.com>
2017-09-10 04:54:50
add import test
1 parent 4c78142
Changed files (1)
test
test/cases/import.zig
@@ -4,3 +4,7 @@ const a_namespace = @import("import/a_namespace.zig");
 test "call fn via namespace lookup" {
     assert(a_namespace.foo() == 1234);
 }
+
+test "importing the same thing gives the same import" {
+    assert(@import("std") == @import("std"));
+}