Skip to content

Commit

Permalink
Remove unnecessary escape in here document
Browse files Browse the repository at this point in the history
  • Loading branch information
Watson1978 committed Jul 24, 2024
1 parent 556487b commit 4bada10
Showing 1 changed file with 25 additions and 25 deletions.
50 changes: 25 additions & 25 deletions test/parse/test_entity_declaration.rb
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def test_prohibited_character
Line: 1
Position: 61
Last 80 unconsumed characters:
invalid&name \"valid-entity-value\">]>
invalid&name "valid-entity-value">]>
DETAIL
end
end
Expand Down Expand Up @@ -68,7 +68,7 @@ def test_prohibited_character
Line: 1
Position: 44
Last 80 unconsumed characters:
valid-name \"% &\">]>
valid-name "% &">]>
DETAIL
end

Expand All @@ -81,7 +81,7 @@ def test_mixed_quote
Line: 1
Position: 61
Last 80 unconsumed characters:
valid-name \"invalid-entity-value'>]>
valid-name "invalid-entity-value'>]>
DETAIL
end
end
Expand Down Expand Up @@ -112,7 +112,7 @@ def test_no_quote_in_public
Line: 1
Position: 90
Last 80 unconsumed characters:
valid-name PUBLIC \"valid-pubid-literal\" invalid-system-literal>]>
valid-name PUBLIC "valid-pubid-literal" invalid-system-literal>]>
DETAIL
end

Expand All @@ -125,7 +125,7 @@ def test_mixed_quote_in_system
Line: 1
Position: 70
Last 80 unconsumed characters:
valid-name SYSTEM 'invalid-system-literal\">]>
valid-name SYSTEM 'invalid-system-literal">]>
DETAIL
end

Expand All @@ -138,7 +138,7 @@ def test_mixed_quote_in_public
Line: 1
Position: 92
Last 80 unconsumed characters:
valid-name PUBLIC \"valid-pubid-literal\" \"invalid-system-literal'>]>
valid-name PUBLIC "valid-pubid-literal" "invalid-system-literal'>]>
DETAIL
end

Expand All @@ -164,7 +164,7 @@ def test_no_literal_in_public
Line: 1
Position: 67
Last 80 unconsumed characters:
valid-name PUBLIC \"valid-pubid-literal\">]>
valid-name PUBLIC "valid-pubid-literal">]>
DETAIL
end
end
Expand All @@ -181,7 +181,7 @@ def test_no_quote
Line: 1
Position: 90
Last 80 unconsumed characters:
valid-name PUBLIC invalid-pubid-literal \"valid-system-literal\">]>
valid-name PUBLIC invalid-pubid-literal "valid-system-literal">]>
DETAIL
end

Expand All @@ -195,7 +195,7 @@ def test_prohibited_pubid_character
Line: 1
Position: 74
Last 80 unconsumed characters:
valid-name PUBLIC \"\u3042\" \"valid-system-literal\">]>
valid-name PUBLIC "\u3042" "valid-system-literal">]>
DETAIL
end

Expand All @@ -208,7 +208,7 @@ def test_mixed_quote
Line: 1
Position: 92
Last 80 unconsumed characters:
valid-name PUBLIC \"invalid-pubid-literal' \"valid-system-literal\">]>
valid-name PUBLIC "invalid-pubid-literal' "valid-system-literal">]>
DETAIL
end

Expand Down Expand Up @@ -239,7 +239,7 @@ def test_prohibited_character
Line: 1
Position: 109
Last 80 unconsumed characters:
valid-name PUBLIC \"valid-pubid-literal\" \"valid-system-literal\" NDATA invalid&nam
valid-name PUBLIC "valid-pubid-literal" "valid-system-literal" NDATA invalid&nam
DETAIL
end
end
Expand All @@ -253,7 +253,7 @@ def test_entity_value_and_notation_data_declaration
Line: 1
Position: 83
Last 80 unconsumed characters:
valid-name \"valid-entity-value\" NDATA valid-ndata-value>]>
valid-name "valid-entity-value" NDATA valid-ndata-value>]>
DETAIL
end
end
Expand All @@ -267,7 +267,7 @@ def test_no_space
Line: 1
Position: 102
Last 80 unconsumed characters:
valid-namePUBLIC\"valid-pubid-literal\"\"valid-system-literal\"NDATAvalid-name>]>
valid-namePUBLIC"valid-pubid-literal""valid-system-literal"NDATAvalid-name>]>
DETAIL
end
end
Expand All @@ -285,7 +285,7 @@ def test_prohibited_character
Line: 1
Position: 63
Last 80 unconsumed characters:
% invalid&name \"valid-entity-value\">]>
% invalid&name "valid-entity-value">]>
DETAIL
end
end
Expand Down Expand Up @@ -316,7 +316,7 @@ def test_prohibited_character
Line: 1
Position: 46
Last 80 unconsumed characters:
% valid-name \"% &\">]>
% valid-name "% &">]>
DETAIL
end

Expand All @@ -329,7 +329,7 @@ def test_mixed_quote
Line: 1
Position: 63
Last 80 unconsumed characters:
% valid-name 'invalid-entity-value\">]>
% valid-name 'invalid-entity-value">]>
DETAIL
end
end
Expand Down Expand Up @@ -360,7 +360,7 @@ def test_no_quote_in_public
Line: 1
Position: 92
Last 80 unconsumed characters:
% valid-name PUBLIC \"valid-pubid-literal\" invalid-system-literal>]>
% valid-name PUBLIC "valid-pubid-literal" invalid-system-literal>]>
DETAIL
end

Expand All @@ -373,7 +373,7 @@ def test_mixed_quote_in_system
Line: 1
Position: 72
Last 80 unconsumed characters:
% valid-name SYSTEM \"invalid-system-literal'>]>
% valid-name SYSTEM "invalid-system-literal'>]>
DETAIL
end

Expand All @@ -386,7 +386,7 @@ def test_mixed_quote_in_public
Line: 1
Position: 94
Last 80 unconsumed characters:
% valid-name PUBLIC \"valid-pubid-literal\" 'invalid-system-literal\">]>
% valid-name PUBLIC "valid-pubid-literal" 'invalid-system-literal">]>
DETAIL
end

Expand All @@ -412,7 +412,7 @@ def test_no_literal_in_public
Line: 1
Position: 69
Last 80 unconsumed characters:
% valid-name PUBLIC \"valid-pubid-literal\">]>
% valid-name PUBLIC "valid-pubid-literal">]>
DETAIL
end
end
Expand All @@ -429,7 +429,7 @@ def test_no_quote
Line: 1
Position: 92
Last 80 unconsumed characters:
% valid-name PUBLIC invalid-pubid-literal \"valid-system-literal\">]>
% valid-name PUBLIC invalid-pubid-literal "valid-system-literal">]>
DETAIL
end

Expand All @@ -443,7 +443,7 @@ def test_prohibited_pubid_character
Line: 1
Position: 76
Last 80 unconsumed characters:
% valid-name PUBLIC \"\u3042\" \"valid-system-literal\">]>
% valid-name PUBLIC "\u3042" "valid-system-literal">]>
DETAIL
end

Expand All @@ -456,7 +456,7 @@ def test_mixed_quote
Line: 1
Position: 94
Last 80 unconsumed characters:
% valid-name PUBLIC 'invalid-pubid-literal\" \"valid-system-literal\">]>
% valid-name PUBLIC 'invalid-pubid-literal" "valid-system-literal">]>
DETAIL
end

Expand Down Expand Up @@ -484,7 +484,7 @@ def test_entity_value_and_notation_data_declaration
Line: 1
Position: 85
Last 80 unconsumed characters:
% valid-name \"valid-entity-value\" NDATA valid-ndata-value>]>
% valid-name "valid-entity-value" NDATA valid-ndata-value>]>
DETAIL
end
end
Expand All @@ -498,7 +498,7 @@ def test_no_space
Line: 1
Position: 67
Last 80 unconsumed characters:
%valid-nameSYSTEM\"valid-system-literal\">]>
%valid-nameSYSTEM"valid-system-literal">]>
DETAIL
end
end
Expand Down

0 comments on commit 4bada10

Please sign in to comment.