diff --git a/evennia/commands/default/tests.py b/evennia/commands/default/tests.py index a836982899..71cf801036 100644 --- a/evennia/commands/default/tests.py +++ b/evennia/commands/default/tests.py @@ -1060,12 +1060,12 @@ class TestBuilding(CommandTest): self.call(building.CmdFind(), "= #1a", "Invalid dbref range provided (not a number).") # Test valid dbref ranges with no search term - self.call(building.CmdFind(), "=#1", "7 Matches(#1-#7)") - self.call(building.CmdFind(), "=1-2", "2 Matches(#1-#2):") - self.call(building.CmdFind(), "=1 - 2", "2 Matches(#1-#2):") - self.call(building.CmdFind(), "=1- #2", "2 Matches(#1-#2):") - self.call(building.CmdFind(), "=1-#2", "2 Matches(#1-#2):") - self.call(building.CmdFind(), "=#1-2", "2 Matches(#1-#2):") + self.call(building.CmdFind(), "=#1", "7 Matches(#1-") + self.call(building.CmdFind(), "=1-2", "2 Matches(#1-") + self.call(building.CmdFind(), "=1 - 2", "2 Matches(#1-") + self.call(building.CmdFind(), "=1- #2", "2 Matches(#1-") + self.call(building.CmdFind(), "=1-#2", "2 Matches(#1-") + self.call(building.CmdFind(), "=#1-2", "2 Matches(#1-") def test_script(self): self.call(building.CmdScript(), "Obj = ", "No scripts defined on Obj")