Files
tree-sitter-shellspec/test/spec/03.example_spec.sh
Ismo Vuorinen dd2b306852 test: fix typos and incorrect hook usage in spec files
- Fix 'yot' → 'yet' typos in test/spec/03.example_spec.sh
- Fix 'Sometime' → 'Sometimes' and cpunum.sh references in test/spec/22.sourcced_spec.sh
- Fix Before → After in after hook section of test/spec/07.before_after_hook_spec.sh
- Improve wording and capitalization throughout hook spec file

All 61 tests still passing after corrections.

Addresses PR #1 review comments from Copilot and CodeRabbit.
2026-01-04 15:32:40 +02:00

38 lines
751 B
Bash

# shellcheck shell=sh
Describe 'example example'
It 'is "example"'
When call echo 'foo'
The output should eq 'foo'
End
Example 'is "example"'
When call echo 'bar'
The output should eq 'bar'
End
Specify 'is also "example"'
When call echo 'baz'
The output should eq 'baz'
End
Example 'this is "Not yet implemented" example block'
:
End
Todo 'what to do' # same as "Not yet implemented" example but not block
It 'not allows define "example group" in "example"'
# Describe 'example group'
# this is syntax error
# End
The value 1 should eq 1
End
End
# example group is not required
It 'is "example" without "example group"'
When call echo 'foo'
The output should eq 'foo'
End