File tree Expand file tree Collapse file tree 1 file changed +9
-8
lines changed
VerbalExpressionsUnitTests Expand file tree Collapse file tree 1 file changed +9
-8
lines changed Original file line number Diff line number Diff line change 4
4
5
5
namespace VerbalExpressionsUnitTests {
6
6
7
+ [ TestFixture ]
7
8
public class AddModifierTests {
8
9
[ Test ]
9
10
public void AddModifier_AddModifierI_RemovesCase ( ) {
@@ -13,14 +14,6 @@ public void AddModifier_AddModifierI_RemovesCase() {
13
14
Assert . IsTrue ( verbEx . IsMatch ( "TESTSTRING" ) ) ;
14
15
}
15
16
16
- [ Test ]
17
- public void AddModifier_AddModifierX_IgnoreWhitspace ( ) {
18
- VerbalExpressions verbEx = VerbalExpressions . DefaultExpression ;
19
- verbEx . Add ( "test string" ) . AddModifier ( 'x' ) ;
20
-
21
- Assert . IsTrue ( verbEx . IsMatch ( "test string #comment" ) ) ;
22
- }
23
-
24
17
[ Test ]
25
18
public void AddModifier_AddModifierM_Multiline ( ) {
26
19
//Arrange
@@ -53,6 +46,14 @@ public void AddModifier_AddModifierS_SingleLine() {
53
46
verbEx . IsMatch ( testString ) ,
54
47
"The dot matches a single character and line break characters." ) ;
55
48
}
49
+
50
+ [ Test ]
51
+ public void AddModifier_AddModifierX_IgnoreWhitspace ( ) {
52
+ VerbalExpressions verbEx = VerbalExpressions . DefaultExpression ;
53
+ verbEx . Add ( "test string" ) . AddModifier ( 'x' ) ;
54
+
55
+ Assert . IsTrue ( verbEx . IsMatch ( "test string #comment" ) ) ;
56
+ }
56
57
}
57
58
58
59
}
You can’t perform that action at this time.
0 commit comments