diff options
| author | Li Jin <dragon-fly@qq.com> | 2026-01-28 18:43:14 +0800 |
|---|---|---|
| committer | Li Jin <dragon-fly@qq.com> | 2026-01-28 18:43:14 +0800 |
| commit | dd64edd58fe25ec74ae5958128cf3f74b0692f3b (patch) | |
| tree | 0f2de1df55897e2713977c5a53936757e14b477a /spec/inputs/test/stub_spec.yue | |
| parent | 7c2a92b82e9808d3c5ea29b47d1c59d663fe984a (diff) | |
| download | yuescript-dd64edd58fe25ec74ae5958128cf3f74b0692f3b.tar.gz yuescript-dd64edd58fe25ec74ae5958128cf3f74b0692f3b.tar.bz2 yuescript-dd64edd58fe25ec74ae5958128cf3f74b0692f3b.zip | |
Fixed compiler issues and added 800+ test cases.
Diffstat (limited to 'spec/inputs/test/stub_spec.yue')
| -rw-r--r-- | spec/inputs/test/stub_spec.yue | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/spec/inputs/test/stub_spec.yue b/spec/inputs/test/stub_spec.yue index 99345c7..835610b 100644 --- a/spec/inputs/test/stub_spec.yue +++ b/spec/inputs/test/stub_spec.yue | |||
| @@ -1,3 +1,6 @@ | |||
| 1 | -- Define stub_fn as a helper function that returns an empty function | ||
| 2 | stub_fn = -> -> | ||
| 3 | |||
| 1 | describe "function stub", -> | 4 | describe "function stub", -> |
| 2 | it "should create empty function", -> | 5 | it "should create empty function", -> |
| 3 | stub_fn! | 6 | stub_fn! |
