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 table for invalid states in TwoCarCrossing seems to have a type on the last line:
|yellow blinkl|yellow |
There is one ell to many. Since "yellow blinkl" is a state that is not defined by any code, I suspect that it could be anything, such as "tom selleck", and it wouldn't matter.
The text was updated successfully, but these errors were encountered:
Well, FitNesse trims the values from the table before sending them to the fixture class by default. You can disable that, but I deliberately wanted to make use of this feature here.
Whitespace trimming, if that is what you mean, doesn't remove the excess ell. You are using the fact that LightState.valueFor("yellow blinkl") == UNKNOWN, but that doesn't exercise the same code as LightState.valueFor("yellow blink"). The former is because of line 22 of LightState.java, the latter is because of line 20.
If this is what you wanted, I think it would be better to be less subtile, and replace "yellow blinkl" with "otherwise" or "doesntMatter".
The table for invalid states in TwoCarCrossing seems to have a type on the last line:
|yellow blinkl|yellow |
There is one ell to many. Since "yellow blinkl" is a state that is not defined by any code, I suspect that it could be anything, such as "tom selleck", and it wouldn't matter.
The text was updated successfully, but these errors were encountered: