summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNirbheek Chauhan <nirbheek@centricular.com>2017-12-05 12:27:18 +0530
committerNirbheek Chauhan <nirbheek@centricular.com>2017-12-05 12:27:18 +0530
commit7d1dabe02069e7ee0084289f4b1f20743e304648 (patch)
tree58f0ad047a3573f2e28c908c4f0c66b1a877f024
parent3c5edc76e590e9a2589d227b4185c8d811e16ad8 (diff)
meson: Use array syntax instead of .get() in tests
-rw-r--r--tests/check/meson.build4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/check/meson.build b/tests/check/meson.build
index 381948b4f..aadc5e999 100644
--- a/tests/check/meson.build
+++ b/tests/check/meson.build
@@ -130,8 +130,8 @@ glib_deps = [gio_dep, gobject_dep, gmodule_dep, glib_dep]
gst_deps = [gst_dep, gst_base_dep, gst_check_dep, gst_net_dep, gst_controller_dep]
foreach t : core_tests
- fname = t.get(0)
- test_name = fname.split('.').get(0).underscorify()
+ fname = t[0]
+ test_name = fname.split('.')[0].underscorify()
skip_test = t.get(1, false)
link_with_libs = t.get(2, [])