Skip to content

Commit

Permalink
update the tode script comments
Browse files Browse the repository at this point in the history
  • Loading branch information
dalehenrich committed Jul 30, 2023
1 parent 20386db commit 341a4d0
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 0 deletions.
1 change: 1 addition & 0 deletions tode/bug_50623
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
# todeIt.solo --file=bug_50623
man --all
2 changes: 2 additions & 0 deletions tode/example1
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
# Disable test running so all tests pass
# Throw a script error if the tests fail
#
# todeIt.solo --file=example1
#
eval `TDTestToolTests enableTests: false`
test --batch class TDTestToolTests
eval `self hasFailures ifTrue: [ self error: 'FAILING' ] ifFalse: [ self ]`
Expand Down
3 changes: 3 additions & 0 deletions tode/example2
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
# Enable test running so you will get test failures
# Throw a script error if the tests fail
#
#
# todeIt.solo --file=example2
#
eval `TDTestToolTests enableTests: true`
test --batch class TDTestToolTests
eval `self hasFailures ifTrue: [ self error: 'FAILING' ] ifFalse: [ self ]`
Expand Down
3 changes: 3 additions & 0 deletions tode/example3
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,8 @@
# Simple expression evaluation ... test for expected results
# Return value if is is correct
#
#
# todeIt.solo --file=example3
#
eval `3+4`
eval `self = 7 ifTrue: [ self ] ifFalse: [ self error: 'wrong value']`
3 changes: 3 additions & 0 deletions tode/example4
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
#
# todeIt.solo --file=example4
#
man --all

0 comments on commit 341a4d0

Please sign in to comment.