diff options
Diffstat (limited to 'unittests')
| -rw-r--r-- | unittests/optiontests.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/unittests/optiontests.py b/unittests/optiontests.py index 19ff8b43b..8f49a804e 100644 --- a/unittests/optiontests.py +++ b/unittests/optiontests.py @@ -331,6 +331,11 @@ class OptionTests(unittest.TestCase): optstore = OptionStore(False) optstore.set_from_configure_command({OptionKey('b_ndebug'): True}) + def test_unconfigure_nonexistent(self): + optstore = OptionStore(False) + with self.assertRaises(MesonException): + optstore.set_from_configure_command({OptionKey('nonexistent'): None}) + def test_subproject_proj_opt_with_same_name(self): name = 'tests' subp = 'subp' |
