Skip to content

Commit

Permalink
Very minor change to two tests
Browse files Browse the repository at this point in the history
Adds whitespace to the end of tests, as they are reused in another project which requires this as a current workaround.
  • Loading branch information
codeZeilen committed Feb 22, 2021
1 parent 9b85725 commit 98bf92f
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 11 deletions.
10 changes: 5 additions & 5 deletions .squot
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
OrderedDictionary {
'packages\/Ohm-Grammars.package' : #SquotCypressCodeSerializer,
'packages\/Ohm-Support.package' : #SquotCypressCodeSerializer,
'packages\/Ohm-Semantics.package' : #SquotCypressCodeSerializer,
'packages\/Ohm-Core.package' : #SquotCypressCodeSerializer,
'packages\/BaselineOfOhm.package' : #SquotCypressCodeSerializer
'packages/Ohm-Grammars.package' : #SquotCypressCodeSerializer,
'packages/Ohm-Support.package' : #SquotCypressCodeSerializer,
'packages/Ohm-Semantics.package' : #SquotCypressCodeSerializer,
'packages/Ohm-Core.package' : #SquotCypressCodeSerializer,
'packages/BaselineOfOhm.package' : #SquotCypressCodeSerializer
}
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
tests
testGrammarParsesConstantReferencesInExpressions

startRule := #Expression.
self shouldParse: 'nil+3' to: #(Expression
(KeywordMessageSend
(KeywordMessageReceiver
(BinaryMessageSend
(BinaryMessageReceiver (UnaryMessageSend (UnaryMessageSend_base (Operand (Literal 'nil')))))
(BinaryMessage '+3')))
(_list)))
(_list)))



Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@
"testGrammarDistinguishesOperandAndUnaryCascades" : "pre 7/6/2020 12:19",
"testGrammarParsesBinaryMessageChains" : "pre 7/6/2020 12:28",
"testGrammarParsesCascadedMessages" : "pre 7/7/2020 15:55",
"testGrammarParsesConstantReferencesInExpressions" : "pre 7/6/2020 15:23",
"testGrammarParsesConstantReferencesInExpressions" : "pre 2/22/2021 17:23",
"testGrammarParsesUnaryMessageChains" : "pre 7/6/2020 12:28",
"testGrammarParsesUnaryMessageSendsWithProblematicOperand" : "pre 6/10/2020 18:14" } }
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
tests
testGrammarParsesConstantReferencesInExpressions

startRule := #Expression.
self shouldParse: 'nil+3' to: #(
Expression
(Operand (Literal 'nil'))
(MessageChain '+3')
(_list))
(_list))
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"testGrammarParsesComplicatedNumbers" : "pre 10/7/2015 15:49",
"testGrammarParsesConstantReferenceAsLiteral" : "pre 7/6/2020 15:13",
"testGrammarParsesConstantReferences" : "pre 7/6/2020 15:13",
"testGrammarParsesConstantReferencesInExpressions" : "pre 7/6/2020 15:15",
"testGrammarParsesConstantReferencesInExpressions" : "pre 2/22/2021 17:23",
"testGrammarParsesConstantReferencesNotVariables" : "pre 7/6/2020 14:53",
"testGrammarParsesExecutableCode" : "pre 7/27/2015 17:02",
"testGrammarParsesExpression" : "pre 7/27/2015 16:48",
Expand Down

0 comments on commit 98bf92f

Please sign in to comment.