Skip to content

Commit

Permalink
Room - change unhandled look message
Browse files Browse the repository at this point in the history
  • Loading branch information
bobbymcr committed Dec 9, 2018
1 parent 0430743 commit add79b3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion core/src/Room.cs
Expand Up @@ -73,7 +73,7 @@ protected void Look(Word noun)
}
else if (!this.LookAt(noun))
{
this.Output($"I can't see any {noun} here.");
this.Output("You see nothing of interest.");
}
}

Expand Down
2 changes: 1 addition & 1 deletion core/test/RoomTest.cs
Expand Up @@ -167,7 +167,7 @@ public void ProcessLookUnknown()
room.Enter();
bus.Send(new SentenceMessage(new Word("look", "VIEW"), new Word(string.Empty, "THING")));

lastOutput.Should().Be("I can't see any THING here.");
lastOutput.Should().Be("You see nothing of interest.");
}

[Fact]
Expand Down
2 changes: 1 addition & 1 deletion sample/test/walkthrough.out
Expand Up @@ -6,5 +6,5 @@ You are in the main room. There is a table here.
> There is no care here.
> It is an ordinary wooden table.
> There is no key here.
> I can't see any sun here.
> You see nothing of interest.
>

0 comments on commit add79b3

Please sign in to comment.