diff options
| author | s-ol <s-ol@users.noreply.github.com> | 2020-08-21 11:54:42 +0000 |
|---|---|---|
| committer | s-ol <s+removethis@s-ol.nu> | 2025-03-02 14:24:49 +0000 |
| commit | f9a0ea48bf5be4fb6963e174317bd117914f10ef (patch) | |
| tree | aab5341beb75ae42bbd4df3bb5cc054a11d23735 /spec | |
| parent | move array ops into library, implement concat and size (diff) | |
| download | alive-f9a0ea48bf5be4fb6963e174317bd117914f10ef.tar.gz alive-f9a0ea48bf5be4fb6963e174317bd117914f10ef.zip | |
move struct ops into library
Diffstat (limited to 'spec')
| -rw-r--r-- | spec/lang/struct_spec.moon | 2 | ||||
| -rw-r--r-- | spec/test_setup.moon | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/spec/lang/struct_spec.moon b/spec/lang/struct_spec.moon index 9d2286e..d0af6bc 100644 --- a/spec/lang/struct_spec.moon +++ b/spec/lang/struct_spec.moon @@ -2,7 +2,7 @@ import TestPilot from require 'spec.test_setup' import T, Struct, Constant from require 'alv' describe "struct", -> - test = TestPilot '' + test = TestPilot '', '(import* struct)\n' ab = Struct { a: T.num, b: T.bool } diff --git a/spec/test_setup.moon b/spec/test_setup.moon index 92756a8..16a3639 100644 --- a/spec/test_setup.moon +++ b/spec/test_setup.moon @@ -15,7 +15,7 @@ os.time = do export COPILOT class TestPilot extends Copilot - new: (code, @preamble) => + new: (code, @preamble='') => super! COPILOT = @ |
