Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
test: Add "GLib.Log constants" tests to increase coverage
  • Loading branch information
ricotz committed Nov 15, 2019
1 parent f7546a2 commit dff72aa
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions tests/Makefile.am
Expand Up @@ -70,6 +70,7 @@ TESTS = \
basic-types/bug777697.test \
basic-types/bug787152.vala \
basic-types/bug788775.vala \
constants/glog.vala \
arrays/cast-silent-invalid.test \
arrays/class-field-length-cname.vala \
arrays/expression-bracket.test \
Expand Down
5 changes: 5 additions & 0 deletions tests/constants/glog.vala
@@ -0,0 +1,5 @@
void main () {
assert (Log.FILE.has_suffix ("glog.vala"));
assert (Log.LINE == 3);
assert (Log.METHOD == "main");
}

0 comments on commit dff72aa

Please sign in to comment.