1
1
/**
2
- * 测试八: towWayMatch 配置项测试
2
+ * 测试八: twoWayMatch 配置项测试
3
3
*/
4
4
/* eslint no-unused-vars:0 */
5
5
function test8 ( ) {
6
6
var lintAsync = window . lintAsync ;
7
7
8
- describe ( '测试八: towWayMatch 配置项测试' , function ( ) {
8
+ describe ( '测试八: twoWayMatch 配置项测试' , function ( ) {
9
9
var $input = $ ( '#test' ) ;
10
10
var $dropdown = $input . next ( ) . find ( 'ul' ) ;
11
11
@@ -15,7 +15,7 @@ function test8() {
15
15
keyField : "userName"
16
16
} ;
17
17
18
- it ( '不设置 towWayMatch (默认为 true)' , function ( ) {
18
+ it ( '不设置 twoWayMatch (默认为 true)' , function ( ) {
19
19
return lintAsync ( function ( $d ) {
20
20
window . helperTest . initInput ( $input , param )
21
21
. one ( 'onDataRequestSuccess' , function ( e , result ) {
@@ -51,9 +51,9 @@ function test8() {
51
51
} ) ;
52
52
} ) ;
53
53
54
- it ( 'towWayMatch = true' , function ( ) {
54
+ it ( 'twoWayMatch = true' , function ( ) {
55
55
return lintAsync ( function ( $d ) {
56
- param . towWayMatch = true ;
56
+ param . twoWayMatch = true ;
57
57
58
58
window . helperTest . initInput ( $input , param )
59
59
. one ( 'onDataRequestSuccess' , function ( e , result ) {
@@ -81,9 +81,9 @@ function test8() {
81
81
} ) ;
82
82
} ) ;
83
83
84
- it ( 'towWayMatch = false' , function ( ) {
84
+ it ( 'twoWayMatch = false' , function ( ) {
85
85
return lintAsync ( function ( $d ) {
86
- param . towWayMatch = false ;
86
+ param . twoWayMatch = false ;
87
87
88
88
window . helperTest . initInput ( $input , param )
89
89
. one ( 'onDataRequestSuccess' , function ( e , result ) {
0 commit comments