summaryrefslogtreecommitdiff
path: root/tests/constants
diff options
context:
space:
mode:
authorRico Tzschichholz <ricotz@ubuntu.com>2020-11-14 21:31:03 +0100
committerRico Tzschichholz <ricotz@ubuntu.com>2020-11-14 21:31:03 +0100
commit760a35d7b9c1c390eeb7a16a5cf2feeebebf23d3 (patch)
tree7b285f6bd339fc33caf457fc48681c463c8a2a7e /tests/constants
parent3756a1621a2560c78a0ee490f36c7f350d69b208 (diff)
downloadvala-760a35d7b9c1c390eeb7a16a5cf2feeebebf23d3.tar.gz
tests: Add "translated string constant" test to increase coverage
Diffstat (limited to 'tests/constants')
-rw-r--r--tests/constants/strings.vala5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/constants/strings.vala b/tests/constants/strings.vala
new file mode 100644
index 000000000..d2f7468df
--- /dev/null
+++ b/tests/constants/strings.vala
@@ -0,0 +1,5 @@
+const string FOO = "string constant";
+const string BAR = _("translated string constant");
+
+void main () {
+}