aboutsummaryrefslogtreecommitdiff
path: root/src/unittest
diff options
context:
space:
mode:
authorsfan5 <sfan5@live.de>2017-01-07 11:05:05 +0100
committersfan5 <sfan5@live.de>2017-01-07 11:05:05 +0100
commitce106a4113de048718ab9f396db3d368c35218fc (patch)
tree3da45fa51922d675f40f60d04f7616e2ed468109 /src/unittest
parentc435eabf3ffb77eab955d5faeb5450da1befc149 (diff)
downloadminetest-ce106a4113de048718ab9f396db3d368c35218fc.tar.gz
minetest-ce106a4113de048718ab9f396db3d368c35218fc.tar.bz2
minetest-ce106a4113de048718ab9f396db3d368c35218fc.zip
Revert "Extend minetest.is_yes()"
This reverts commit c435eabf3ffb77eab955d5faeb5450da1befc149.
Diffstat (limited to 'src/unittest')
-rw-r--r--src/unittest/test_utilities.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/unittest/test_utilities.cpp b/src/unittest/test_utilities.cpp
index 58412dd85..d73975b9f 100644
--- a/src/unittest/test_utilities.cpp
+++ b/src/unittest/test_utilities.cpp
@@ -147,8 +147,6 @@ void TestUtilities::testIsYes()
UASSERT(is_yes("0") == false);
UASSERT(is_yes("1") == true);
UASSERT(is_yes("2") == true);
- UASSERT(is_yes("on") == true);
- UASSERT(is_yes("off") == false);
}