Skip to content

Commit 0fc67d0

Browse files
committed
Expect space when regexp has an escaped space
Close #927
1 parent e6be78e commit 0fc67d0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

test/action_view/cases/test_form_for_helpers.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -662,7 +662,7 @@ def test_field_with_format_space
662662
end
663663

664664
def test_field_with_format_escaped_space
665-
assert_field_with_format_has_source(:escaped_space, '\\ ')
665+
assert_field_with_format_has_source(:escaped_space, ' ')
666666
end
667667

668668
def test_field_with_format_ascii_escape

test/action_view/cases/test_form_with_helpers.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -661,7 +661,7 @@ def test_form_with_field_with_format_space
661661
end
662662

663663
def test_form_with_field_with_format_escaped_space
664-
assert_field_with_format_has_source(:escaped_space, '\\ ')
664+
assert_field_with_format_has_source(:escaped_space, ' ')
665665
end
666666

667667
def test_form_with_field_with_format_ascii_escape

0 commit comments

Comments
 (0)