meson: reformat with meson formatter
Apply the `meson format` results.
Change-Id: I801388ee554b6112aaabaa763873d68d1a4f5fb7
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/test/meson.build b/test/meson.build
index 728d641..aa44862 100644
--- a/test/meson.build
+++ b/test/meson.build
@@ -8,40 +8,42 @@
dependency('threads'),
gtest_proj.dependency('gtest'),
gtest_proj.dependency('gtest_main'),
- ]
+ ],
)
gmock_dep = gtest_proj.dependency('gmock')
- else
+ else
assert(
not get_option('tests').allowed(),
- 'Googletest is required if tests are enabled'
+ 'Googletest is required if tests are enabled',
)
- endif
+ endif
endif
test_sources = [
- '../snmp_conf_manager.cpp',
- '../snmp_client.cpp',
- '../snmp_serialize.cpp',
- '../snmp_util.cpp',
+ '../snmp_conf_manager.cpp',
+ '../snmp_client.cpp',
+ '../snmp_serialize.cpp',
+ '../snmp_util.cpp',
]
tests = [
- 'test_error_notification.cpp',
- 'test_snmp_conf_manager.cpp',
- 'test_snmp_util.cpp',
- 'test_snmp_serialize.cpp',
- 'test_snmp_client.cpp',
+ 'test_error_notification.cpp',
+ 'test_snmp_conf_manager.cpp',
+ 'test_snmp_util.cpp',
+ 'test_snmp_serialize.cpp',
+ 'test_snmp_client.cpp',
]
foreach t : tests
- test(t, executable(t.underscorify(), t,
- test_sources,
- include_directories: ['..'],
- dependencies: [
- gtest_dep,
- gmock_dep,
- deps
- ]),
- workdir: meson.current_source_dir())
+ test(
+ t,
+ executable(
+ t.underscorify(),
+ t,
+ test_sources,
+ include_directories: ['..'],
+ dependencies: [gtest_dep, gmock_dep, deps],
+ ),
+ workdir: meson.current_source_dir(),
+ )
endforeach