[Pkg-mozext-commits] [perspectives-extension] 07/44: tests - rename function to note test has not been created yet

David Prévot taffit at moszumanska.debian.org
Sun Jun 26 04:59:17 UTC 2016


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository perspectives-extension.

commit b7c0dd79aa340e5823b222483c62257784303d38
Author: Dave Schaefer <dave.schaefer at gmail.com>
Date:   Tue Oct 20 19:26:08 2015 -0600

    tests - rename function to note test has not been created yet
---
 test/test.html | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/test/test.html b/test/test.html
index f36074f..f016db5 100644
--- a/test/test.html
+++ b/test/test.html
@@ -146,7 +146,7 @@ function error(str) {
 // placeholder function to note future tests we should implement.
 // it's here so you can easily set up tests and enable/disable them
 // by renaming the function they call.
-function assert_fixme(test, case_name) {
+function assert_writeme(test, case_name) {
     write_string_to_element('[-] <span style="color: grey">not implemented</span> : ' + case_name, 'li');
 }
 
@@ -971,7 +971,7 @@ function notary_replies() {
     write_string("Starting notary reply tests");
 
     //TODO: overwrite, or ignore?
-    assert_fixme(false, "Don't accept multiple responses from the same server");
+    assert_writeme(false, "Don't accept multiple responses from the same server");
     //we can test this by temporarily allowing duplicates and sending out two responses.
     //but it's even better if we can just do it in code.
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/perspectives-extension.git



More information about the Pkg-mozext-commits mailing list