[gtk-doc] check: fix the test as a followup
- From: Stefan Sauer <stefkost src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk-doc] check: fix the test as a followup
- Date: Fri, 30 Nov 2018 20:59:11 +0000 (UTC)
commit 424ca2c1b6cb8c464164c045ac9a47b87e933aac
Author: Stefan Sauer <ensonic users sf net>
Date: Fri Nov 30 21:57:17 2018 +0100
check: fix the test as a followup
Commit 566a0284e changed the behaviour, but did not run the tests.
tests/check.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/tests/check.py b/tests/check.py
index 997aa6e..b91377c 100755
--- a/tests/check.py
+++ b/tests/check.py
@@ -48,7 +48,7 @@ class TestCheck(unittest.TestCase):
def test_get_variable_empty_file(self):
with self.assertRaises(check.FileFormatError) as ctx:
- check.get_variable({'foo': 'bar'}, [], 'foo')
+ check.get_variable({}, [], 'foo')
self.assertEqual(str(ctx.exception), 'foo')
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]