From 59acb1a0227d6143674454e5ce3f39b7f11567c1 Mon Sep 17 00:00:00 2001 From: gluaxspeed Date: Fri, 5 Feb 2021 11:36:21 -0500 Subject: [PATCH] unignore test and add test case to thoroughly test --- compiler/tests/import/imports/bar/src/baz.leo | 4 ++++ compiler/tests/import/many_import.leo | 3 ++- compiler/tests/import/mod.rs | 1 - 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/compiler/tests/import/imports/bar/src/baz.leo b/compiler/tests/import/imports/bar/src/baz.leo index 6c1df2d4b9..1bb268a84c 100755 --- a/compiler/tests/import/imports/bar/src/baz.leo +++ b/compiler/tests/import/imports/bar/src/baz.leo @@ -1,3 +1,7 @@ circuit Baz { z: u32 +} + +circuit Bazzar { + a: u32 } \ No newline at end of file diff --git a/compiler/tests/import/many_import.leo b/compiler/tests/import/many_import.leo index 339700fd68..08ae494c4f 100644 --- a/compiler/tests/import/many_import.leo +++ b/compiler/tests/import/many_import.leo @@ -5,7 +5,7 @@ import test-import.( // local import import bar.( // imports directory import Bar, - baz.Baz, + baz.(Baz, Bazzar), bat.bat.Bat, ); @@ -17,6 +17,7 @@ function main() { const bar = Bar { r: 1u32 }; const baz = Baz { z: 1u32 }; + const bazzar = Bazzar { a: 1u32 }; const bat = Bat { t: 1u32 }; const car = Car { c: 1u32 }; diff --git a/compiler/tests/import/mod.rs b/compiler/tests/import/mod.rs index 1a3440b577..0d0e18107b 100644 --- a/compiler/tests/import/mod.rs +++ b/compiler/tests/import/mod.rs @@ -132,7 +132,6 @@ fn test_names_fail_4() { // more complex tests #[test] -#[ignore] fn test_many_import() { set_local_dir();