Skip to content

Commit fea68e7

Browse files
committed
fix test for twoWayMatch option
1 parent 2ba6fea commit fea68e7

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

test/spec/test.8.js

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
/**
2-
* 测试八: towWayMatch 配置项测试
2+
* 测试八: twoWayMatch 配置项测试
33
*/
44
/* eslint no-unused-vars:0 */
55
function test8() {
66
var lintAsync = window.lintAsync;
77

8-
describe('测试八: towWayMatch 配置项测试', function() {
8+
describe('测试八: twoWayMatch 配置项测试', function() {
99
var $input = $('#test');
1010
var $dropdown = $input.next().find('ul');
1111

@@ -15,7 +15,7 @@ function test8() {
1515
keyField: "userName"
1616
};
1717

18-
it('不设置 towWayMatch(默认为 true)', function() {
18+
it('不设置 twoWayMatch(默认为 true)', function() {
1919
return lintAsync(function($d) {
2020
window.helperTest.initInput($input, param)
2121
.one('onDataRequestSuccess', function(e, result) {
@@ -51,9 +51,9 @@ function test8() {
5151
});
5252
});
5353

54-
it('towWayMatch = true', function() {
54+
it('twoWayMatch = true', function() {
5555
return lintAsync(function($d) {
56-
param.towWayMatch = true;
56+
param.twoWayMatch = true;
5757

5858
window.helperTest.initInput($input, param)
5959
.one('onDataRequestSuccess', function(e, result) {
@@ -81,9 +81,9 @@ function test8() {
8181
});
8282
});
8383

84-
it('towWayMatch = false', function() {
84+
it('twoWayMatch = false', function() {
8585
return lintAsync(function($d) {
86-
param.towWayMatch = false;
86+
param.twoWayMatch = false;
8787

8888
window.helperTest.initInput($input, param)
8989
.one('onDataRequestSuccess', function(e, result) {

0 commit comments

Comments
 (0)