fortrangoingonforty/ferp / 56543cc

Browse files

Enable whitespace pattern test

The "edge: spaces" test case now passes after fixing whitespace
pattern handling throughout the codebase.
Authored by mfwolffe <wolffemf@dukes.jmu.edu>
SHA
56543cc6617c99e2a6f335c7cc68fbfecaa24020
Parents
3259a58
Tree
bd06139

1 changed file

StatusFile+-
M tests/grep_comparison_test.sh 1 3
tests/grep_comparison_test.shmodified
@@ -617,9 +617,7 @@ test_edge_cases() {
617
 
617
 
618
     # Whitespace handling
618
     # Whitespace handling
619
     test_grep_compat "edge: tab character" "" "	" "$FIXTURES/whitespace.txt"
619
     test_grep_compat "edge: tab character" "" "	" "$FIXTURES/whitespace.txt"
620
-    # Known issue: ferp has trailing whitespace trimming and tab/space confusion
620
+    test_grep_compat "edge: spaces" "" "  " "$FIXTURES/whitespace.txt"
621
-    # test_grep_compat "edge: spaces" "" "  " "$FIXTURES/whitespace.txt"
622
-    skip "edge: spaces" "Known issue: trailing whitespace trimming"
623
 }
621
 }
624
 
622
 
625
 #------------------------------------------------------------------------------
623
 #------------------------------------------------------------------------------