[gjs] Fix cairo test
- From: Giovanni Campagna <gcampagna src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gjs] Fix cairo test
- Date: Tue, 7 May 2013 15:56:01 +0000 (UTC)
commit 8adde7cc50f3d14c9528395c712e7bc509bd4e0b
Author: Giovanni Campagna <gcampagna src gnome org>
Date: Tue May 7 12:57:29 2013 +0200
Fix cairo test
We should check for equality, not truthiness.
https://bugzilla.gnome.org/show_bug.cgi?id=690984
installed-tests/test/js/testCairo.js | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/installed-tests/test/js/testCairo.js b/installed-tests/test/js/testCairo.js
index 22d63f0..5bbf074 100644
--- a/installed-tests/test/js/testCairo.js
+++ b/installed-tests/test/js/testCairo.js
@@ -171,7 +171,7 @@ function testCairoSignal() {
let called = false;
o.connect('sig-with-foreign-struct', function(o, cr) {
called = true;
- assertTrue(_ts(cr), "CairoContext");
+ assertEquals(_ts(cr), "CairoContext");
});
o.emit_sig_with_foreign_struct();
assertTrue(called);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]