aboutsummaryrefslogtreecommitdiff
path: root/test cases
diff options
context:
space:
mode:
authorJames Hilliard <james.hilliard1@gmail.com>2019-10-24 20:20:53 +0200
committerJussi Pakkanen <jpakkane@gmail.com>2019-10-24 23:57:31 +0300
commit2b6c997e33e0864fd9bd462e913323b6711f644a (patch)
treef87620ea94245f2bf2687c15b0debd33fd2967c9 /test cases
parent9ee9a1e1b25784c2d1ac93cae319dfbed43a67fc (diff)
downloadmeson-2b6c997e33e0864fd9bd462e913323b6711f644a.zip
meson-2b6c997e33e0864fd9bd462e913323b6711f644a.tar.gz
meson-2b6c997e33e0864fd9bd462e913323b6711f644a.tar.bz2
Return a disabler when an unknown method is called on a disabler object
Diffstat (limited to 'test cases')
-rw-r--r--test cases/common/163 disabler/meson.build3
1 files changed, 3 insertions, 0 deletions
diff --git a/test cases/common/163 disabler/meson.build b/test cases/common/163 disabler/meson.build
index 1f0580c..5554f14 100644
--- a/test cases/common/163 disabler/meson.build
+++ b/test cases/common/163 disabler/meson.build
@@ -2,6 +2,9 @@ project('dolphin option', 'c')
d = disabler()
+full_path = d.full_path()
+assert(is_disabler(full_path), 'Method call is not a disabler')
+
d2 = dependency(d)
d3 = (d == d2)
d4 = d + 0