ソースを参照

fix unit test

Robin Herbots 9 年 前
コミット
0eb7584afe
2 ファイル変更2 行追加3 行削除
  1. 1 1
      CHANGELOG.md
  2. 1 2
      qunit/tests_dynamic.js

+ 1 - 1
CHANGELOG.md

@@ -5,7 +5,7 @@ All notable changes to this project will be documented in this file.
 
 
 ### Updates
 ### Updates
 - speedup insert and delete from characters
 - speedup insert and delete from characters
-- adding extra options though option method => auto apply the mask + add noremask option
+- adding extra options through option method => auto apply the mask + add noremask option
 
 
 ### Fixed
 ### Fixed
 - Email alias _@_ => _@_._ #1245
 - Email alias _@_ => _@_._ #1245

+ 1 - 2
qunit/tests_dynamic.js

@@ -110,8 +110,7 @@ define([
 		testmask.focus();
 		testmask.focus();
 		$("#testmask").Type("some.");
 		$("#testmask").Type("some.");
 		testmask.blur();
 		testmask.blur();
-		assert.equal(testmask.value, "some.@_._
-
+		assert.equal(testmask.value, "some.@_._", "Result " + testmask.value);
 	});
 	});
 
 
 	qunit.test("email mask - partial input 2", function(assert) {
 	qunit.test("email mask - partial input 2", function(assert) {