From 7e261bea9b303ff2cc24464c5400100f72badfaf Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Mon, 17 Jun 2024 17:33:32 -0400 Subject: Fix 'use' test to use 'import' instead --- test/import.tm | 9 +++++++++ test/use.tm | 9 --------- 2 files changed, 9 insertions(+), 9 deletions(-) create mode 100644 test/import.tm delete mode 100644 test/use.tm diff --git a/test/import.tm b/test/import.tm new file mode 100644 index 00000000..58f4e451 --- /dev/null +++ b/test/import.tm @@ -0,0 +1,9 @@ +imported := import ./use_import + +func asdf()->imported.ImportedType: + return imported.get_value() + +func main(): + >> [:imported.ImportedType] + >> asdf() + = ImportedType(name="Hello") diff --git a/test/use.tm b/test/use.tm deleted file mode 100644 index 95ab3c7e..00000000 --- a/test/use.tm +++ /dev/null @@ -1,9 +0,0 @@ -imported := use ./use_import - -func asdf()->imported.ImportedType: - return imported.get_value() - -func main(): - >> [:imported.ImportedType] - >> asdf() - = ImportedType(name="Hello") -- cgit v1.2.3