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
Describe the bug
Test custom-3 in money-test.red is not re-runnable, causing a crash if it is run a second time.
>> do %money-test.red
~~~started test~~~ money
~~~finished test~~~ money
Number of Tests Performed: 375
Number of Assertions Performed: 1027
Number of Assertions Passed: 1027
Number of Assertions Failed: 0
== 1621
>> do %money-test.red
~~~started test~~~ money
===group=== currency list
--test-- custom-3 FAILED**************
*** Script Error: protected value or series - cannot modify
*** Where: do
*** Near :
*** Stack: do-file
The issue is that the test adds currency codes to the currency list, an operation that its not repeatable.
To reproduce
Run money-test.red twice in a single console session.
Expected behavior
The test should add currency codes that are known not to be in the current list or there should be a method to remove such "custom" currency codes from the list of currencies.
Describe the bug
Test custom-3 in
money-test.red
is not re-runnable, causing a crash if it is run a second time.The issue is that the test adds currency codes to the currency list, an operation that its not repeatable.
To reproduce
Run
money-test.red
twice in a single console session.Expected behavior
The test should add currency codes that are known not to be in the current list or there should be a method to remove such "custom" currency codes from the list of currencies.
Platform version
The text was updated successfully, but these errors were encountered: