diff options
author | Arne Schwabe <arne@rfc2549.org> | 2023-08-26 18:23:02 +0200 |
---|---|---|
committer | Arne Schwabe <arne@rfc2549.org> | 2023-08-26 18:23:02 +0200 |
commit | 42b2c8ee062318bffd059a810033b615164cfb48 (patch) | |
tree | 5ce01c05cd2c84fb055b0af7cb8808140888a221 /main/src/test/java | |
parent | a3607c6850280f6c0144f95f2b5d2674de93a510 (diff) |
Fix unit test building and running
Diffstat (limited to 'main/src/test/java')
-rw-r--r-- | main/src/test/java/de/blinkt/openvpn/core/TestConfigParser.kt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/src/test/java/de/blinkt/openvpn/core/TestConfigParser.kt b/main/src/test/java/de/blinkt/openvpn/core/TestConfigParser.kt index 53bfd00a..fcc27878 100644 --- a/main/src/test/java/de/blinkt/openvpn/core/TestConfigParser.kt +++ b/main/src/test/java/de/blinkt/openvpn/core/TestConfigParser.kt @@ -252,7 +252,7 @@ class TestConfigParser { val c:Context = ApplicationProvider.getApplicationContext() val err = vp.checkProfile(c, false) - Assert.assertTrue("Failed with " + c.getString(err), err == R.string.no_error_found) + Assert.assertTrue("Failed with wrong error code: $err", err == R.string.no_error_found) } @Test |