Compare commits
No commits in common. "5aa0c94810d42d54d1da4144f8121bc87bf64ac8" and "fe22e78423754b6e0f2b41d9f8f3a613ac778530" have entirely different histories.
5aa0c94810
...
fe22e78423
|
@ -74,8 +74,8 @@ impl FromStr for Exit {
|
|||
|
||||
let position = position.unwrap();
|
||||
|
||||
let effect = if parts.next().is_some() {
|
||||
Transition::from(parts.next().unwrap())
|
||||
let effect = if let Some(transition_line) = parts.next() {
|
||||
Transition::from(transition_line)
|
||||
} else {
|
||||
Transition::None
|
||||
};
|
||||
|
|
|
@ -4,12 +4,11 @@ mod test {
|
|||
|
||||
/// bitsy-parser will parse these games correctly
|
||||
/// but the output does not match the input, due to game data errors.
|
||||
const ACCEPTED_FAILURES: [&str; 32] = [
|
||||
const ACCEPTED_FAILURES: [&str; 31] = [
|
||||
// position out of bounds e.g. "5, -1"
|
||||
"CFE62F11", // "SweetPea Village",
|
||||
"013B3CDE", // "Sunset Shore",
|
||||
"65C2B499", // "==GIRLS OWN THE VOID=={br}a faux platformer",
|
||||
"74E0F6EF", // this one has no name. the files is huge so the test hangs, but it does parse ok apart from a bad item position.
|
||||
// extra tiles in room (this was an old editor bug)
|
||||
"07836D6F", // "I can't run anymore. They won't give up. I need water.",
|
||||
"12490381", // "Picnic at Castle Island",
|
||||
|
|
Loading…
Reference in New Issue