summaryrefslogtreecommitdiff
path: root/test cases
diff options
context:
space:
mode:
Diffstat (limited to 'test cases')
-rw-r--r--test cases/rewrite/8 kwargs dict/info.json14
-rw-r--r--test cases/rewrite/8 kwargs dict/meson.build10
2 files changed, 24 insertions, 0 deletions
diff --git a/test cases/rewrite/8 kwargs dict/info.json b/test cases/rewrite/8 kwargs dict/info.json
new file mode 100644
index 000000000..11a9e1a6e
--- /dev/null
+++ b/test cases/rewrite/8 kwargs dict/info.json
@@ -0,0 +1,14 @@
+[
+ {
+ "type": "kwargs",
+ "function": "project",
+ "id": "/",
+ "operation": "info"
+ },
+ {
+ "type": "kwargs",
+ "function": "dependency",
+ "id": "dep1",
+ "operation": "info"
+ }
+]
diff --git a/test cases/rewrite/8 kwargs dict/meson.build b/test cases/rewrite/8 kwargs dict/meson.build
new file mode 100644
index 000000000..1c5f25b6d
--- /dev/null
+++ b/test cases/rewrite/8 kwargs dict/meson.build
@@ -0,0 +1,10 @@
+project(
+ 'rewritetest', 'cpp',
+ version: '0.0.1',
+ default_options: {
+ 'c_std': 'c11',
+ 'cpp_std': 'c++17',
+ },
+)
+
+dep1 = dependency('zlib', required: false, default_options: {'foo': 'bar'})