Skip to content

Commit

Permalink
Clean some of the range tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
treed committed Aug 8, 2009
1 parent 9533a4d commit 235d413
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
6 changes: 3 additions & 3 deletions t/range.t
Expand Up @@ -11,13 +11,13 @@ proclaim r.include?(5), '.include? for Range'
nok r.include?(100), '.include? for Range'
proclaim r.member?(6), '.member? for Range'

skip("Parens around a range are for some reason unparseable.", "15")
skip("Parens around a range are unparseable.", "15")
#arr = (7..9).to_a
#is arr, [7, 8, 9], 'to_a for Range'

skip("Something unparseable here.","15",3)
skip("Parens around a range are unparseable.","15",3)
#prev = 1
#2...4.each do |cur|
#(2...4).each do |cur|
# if(cur == (prev + 1))
# pass 'range .each'
# end
Expand Down
1 change: 0 additions & 1 deletion t/range/new.t
Expand Up @@ -4,4 +4,3 @@ plan 1

r = Range.new(1,10)
pass '.new on Range'
todo 'fix parsing for all syntax of a new Range, to include discrete and continous ranges, (<to>..<from>), <to>..<from>, <from_exclusive>...<to_exclusive', 2

0 comments on commit 235d413

Please sign in to comment.