You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The test is the sample test on README.md:
#!/bin/bash
source "$( cd "${BASH_SOURCE[0]%/*}" && pwd )/lib/oo-bootstrap.sh"
import util/test UI/Color
it 'should make a number and change its value'
try
integer aNumber=10
aNumber=12
test $aNumber == 12
expectPass
When the test is runned the next error is shown:
UI.Color.Red: order not found
UI.Color.Default: order not found
The problem happens on line 70 of test.sh:
alias caught="echo "CAUGHT: $(UI.Color.Red)$BACKTRACE_COMMAND$(UI.Color.Default) in $BACKTRACE_SOURCE:$BACKTRACE_LINE""
Why it did as a workaround was to put the aliases on the same file just above the conflicting line:
alias UI.Color.Default="echo"
alias UI.Color.Red="echo"
alias describe='Test NewGroup'
alias summary='Test DisplaySummary'
alias caught="echo "CAUGHT: $(UI.Color.Red)$BACKTRACE_COMMAND$(UI.Color.Default) in $BACKTRACE_SOURCE:$BACKTRACE_LINE""
And all work.
The lxterminal I'm using uses 8 colors:.
The text was updated successfully, but these errors were encountered:
The test is the sample test on README.md:
#!/bin/bash
source "$( cd "${BASH_SOURCE[0]%/*}" && pwd )/lib/oo-bootstrap.sh"
import util/test UI/Color
it 'should make a number and change its value'
try
integer aNumber=10
aNumber=12
test $aNumber == 12
expectPass
When the test is runned the next error is shown:
UI.Color.Red: order not found
UI.Color.Default: order not found
The problem happens on line 70 of test.sh:$(UI.Color.Red)$ BACKTRACE_COMMAND$(UI.Color.Default) in $ BACKTRACE_SOURCE:$BACKTRACE_LINE""
alias caught="echo "CAUGHT:
Why it did as a workaround was to put the aliases on the same file just above the conflicting line:$(UI.Color.Red)$ BACKTRACE_COMMAND$(UI.Color.Default) in $ BACKTRACE_SOURCE:$BACKTRACE_LINE""
alias UI.Color.Default="echo"
alias UI.Color.Red="echo"
alias describe='Test NewGroup'
alias summary='Test DisplaySummary'
alias caught="echo "CAUGHT:
And all work.
The lxterminal I'm using uses 8 colors:.
The text was updated successfully, but these errors were encountered: