Re: Issue 3462 in pharo: [Failing Test] SHParserST80Test.testNumbers

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Re: Issue 3462 in pharo: [Failing Test] SHParserST80Test.testNumbers

pharo
Updates:
        Summary: [Failing Test] SHParserST80Test.testNumbers

Comment #1 on issue 3462 by marcus.denker: [Failing Test]  
SHParserST80Test.testNumbers
http://code.google.com/p/pharo/issues/detail?id=3462

(No comment was entered for this change.)


Reply | Threaded
Open this post in threaded view
|

Re: Issue 3462 in pharo: [Failing Test] SHParserST80Test.testNumbers

pharo

Comment #2 on issue 3462 by guillermopolito: [Failing Test]  
SHParserST80Test.testNumbers
http://code.google.com/p/pharo/issues/detail?id=3462

The failure is in here:

s := 'x 1--1'.
types := self tokenTypesIn: s.
tokens := self tokensIn: s.
self assert: types = #(patternUnary number binary #- number ).
self assert: tokens = #('x' '1' '-' '-' '1').

Because it's recognizing the tokens:

#('x' '1' '--' '1')

whose types are

#(#patternUnary #number #incompleteBinary #number)


Reply | Threaded
Open this post in threaded view
|

Re: Issue 3462 in pharo: [Failing Test] SHParserST80Test.testNumbers

pharo
Updates:
        Status: Closed

Comment #3 on issue 3462 by marcus.denker: [Failing Test]  
SHParserST80Test.testNumbers
http://code.google.com/p/pharo/issues/detail?id=3462

not failing in latest image