diff options
| author | 魏曹先生 <1992414357@qq.com> | 2026-06-07 19:42:02 +0800 |
|---|---|---|
| committer | 魏曹先生 <1992414357@qq.com> | 2026-06-07 19:42:02 +0800 |
| commit | 9725bbc5a41e00a2b952cdfe4a04d472765c9e41 (patch) | |
| tree | 05ef878bb5b95e32713349eb82ed74665eb9bfa9 /examples/test-examples.toml | |
| parent | a88a4478bfa9c18d49296460b98c0512f34794c4 (diff) | |
Add LazyRes for lazy resource initialization
Diffstat (limited to 'examples/test-examples.toml')
| -rw-r--r-- | examples/test-examples.toml | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/examples/test-examples.toml b/examples/test-examples.toml index 6f45048..8d2cf0d 100644 --- a/examples/test-examples.toml +++ b/examples/test-examples.toml @@ -1,3 +1,13 @@ +[[test.example-lazy-resources]] +command = "none" +expect.exit-code = 0 +expect.result = "None" + +[[test.example-lazy-resources]] +command = "show" +expect.exit-code = 0 +expect.result = "Initialized\nbaz: qux\nfoo: bar\nhello: world\nkey: value\nrust: lang" + [[test.example-basic]] command = "greet" expect.exit-code = 0 |
