Skip to content

Commit

Permalink
Add literal tests for currently working String literals and make noti…
Browse files Browse the repository at this point in the history
…ce about literals which yet need to be proper implementation
  • Loading branch information
bovi committed May 29, 2012
1 parent 84c5d35 commit 82d600d
Showing 1 changed file with 17 additions and 2 deletions.
19 changes: 17 additions & 2 deletions test/t/literals.rb
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,22 @@
end

assert('Literals Strings Quoted Expanded', '8.7.6.3.5') do
# segv atm
true
a = %Q{abc}
b = %Q(abc)
c = %Q[abc]
d = %Q<abc>
e = %Q/abc/
f = %Q/ab\/c/
g = %Q{#{a}}

a == 'abc' and b == 'abc' and c == 'abc' and d == 'abc' and
e == 'abc' and f == 'ab/c' and g == 'abc'
end

# Not Implemented ATM assert('Literals Strings Here documents', '8.7.6.3.6') do

# Not Implemented ATM assert('Literals Array', '8.7.6.4') do

# Not Implemented ATM assert('Literals Regular expression', '8.7.6.5') do

# Not Implemented ATM assert('Literals Symbol', '8.7.6.6') do

0 comments on commit 82d600d

Please sign in to comment.