Skip to content

Commit

Permalink
Merge pull request #760 from dmarcotte/bad-assert
Browse files Browse the repository at this point in the history
Remove a bad assert and untag some tests it was affecting
  • Loading branch information
atambo committed May 24, 2013
2 parents 882879d + 7a874d2 commit e507516
Show file tree
Hide file tree
Showing 43 changed files with 1 addition and 99 deletions.
2 changes: 0 additions & 2 deletions spec/tags/1.8/ruby/command_line/dash_a_tags.txt

This file was deleted.

1 change: 0 additions & 1 deletion spec/tags/1.8/ruby/command_line/dash_n_tags.txt

This file was deleted.

2 changes: 0 additions & 2 deletions spec/tags/1.8/ruby/command_line/dash_p_tags.txt

This file was deleted.

2 changes: 0 additions & 2 deletions spec/tags/1.8/ruby/core/argf/each_line_tags.txt

This file was deleted.

2 changes: 0 additions & 2 deletions spec/tags/1.8/ruby/core/argf/each_tags.txt

This file was deleted.

2 changes: 0 additions & 2 deletions spec/tags/1.8/ruby/core/argf/eof_tags.txt

This file was deleted.

1 change: 0 additions & 1 deletion spec/tags/1.8/ruby/core/argf/file_tags.txt

This file was deleted.

2 changes: 0 additions & 2 deletions spec/tags/1.8/ruby/core/argf/filename_tags.txt

This file was deleted.

1 change: 0 additions & 1 deletion spec/tags/1.8/ruby/core/argf/fileno_tags.txt

This file was deleted.

8 changes: 0 additions & 8 deletions spec/tags/1.8/ruby/core/argf/gets_tags.txt

This file was deleted.

3 changes: 0 additions & 3 deletions spec/tags/1.8/ruby/core/argf/lineno_tags.txt

This file was deleted.

2 changes: 0 additions & 2 deletions spec/tags/1.8/ruby/core/argf/path_tags.txt

This file was deleted.

1 change: 0 additions & 1 deletion spec/tags/1.8/ruby/core/argf/pos_tags.txt

This file was deleted.

8 changes: 0 additions & 8 deletions spec/tags/1.8/ruby/core/argf/readline_tags.txt

This file was deleted.

1 change: 0 additions & 1 deletion spec/tags/1.8/ruby/core/argf/readlines_tags.txt

This file was deleted.

2 changes: 0 additions & 2 deletions spec/tags/1.8/ruby/core/argf/rewind_tags.txt

This file was deleted.

3 changes: 0 additions & 3 deletions spec/tags/1.8/ruby/core/argf/seek_tags.txt

This file was deleted.

2 changes: 0 additions & 2 deletions spec/tags/1.8/ruby/core/argf/skip_tags.txt

This file was deleted.

1 change: 0 additions & 1 deletion spec/tags/1.8/ruby/core/argf/to_a_tags.txt

This file was deleted.

1 change: 0 additions & 1 deletion spec/tags/1.8/ruby/core/argf/to_i_tags.txt

This file was deleted.

1 change: 0 additions & 1 deletion spec/tags/1.8/ruby/core/argf/to_io_tags.txt

This file was deleted.

2 changes: 0 additions & 2 deletions spec/tags/1.9/ruby/command_line/dash_a_tags.txt

This file was deleted.

1 change: 0 additions & 1 deletion spec/tags/1.9/ruby/command_line/dash_n_tags.txt

This file was deleted.

2 changes: 0 additions & 2 deletions spec/tags/1.9/ruby/command_line/dash_p_tags.txt

This file was deleted.

2 changes: 0 additions & 2 deletions spec/tags/1.9/ruby/core/argf/each_line_tags.txt

This file was deleted.

2 changes: 0 additions & 2 deletions spec/tags/1.9/ruby/core/argf/each_tags.txt

This file was deleted.

2 changes: 0 additions & 2 deletions spec/tags/1.9/ruby/core/argf/eof_tags.txt

This file was deleted.

1 change: 0 additions & 1 deletion spec/tags/1.9/ruby/core/argf/file_tags.txt

This file was deleted.

2 changes: 0 additions & 2 deletions spec/tags/1.9/ruby/core/argf/filename_tags.txt

This file was deleted.

1 change: 0 additions & 1 deletion spec/tags/1.9/ruby/core/argf/fileno_tags.txt

This file was deleted.

8 changes: 0 additions & 8 deletions spec/tags/1.9/ruby/core/argf/gets_tags.txt

This file was deleted.

3 changes: 0 additions & 3 deletions spec/tags/1.9/ruby/core/argf/lineno_tags.txt

This file was deleted.

2 changes: 0 additions & 2 deletions spec/tags/1.9/ruby/core/argf/path_tags.txt

This file was deleted.

1 change: 0 additions & 1 deletion spec/tags/1.9/ruby/core/argf/pos_tags.txt

This file was deleted.

8 changes: 0 additions & 8 deletions spec/tags/1.9/ruby/core/argf/readline_tags.txt

This file was deleted.

1 change: 0 additions & 1 deletion spec/tags/1.9/ruby/core/argf/readlines_tags.txt

This file was deleted.

2 changes: 0 additions & 2 deletions spec/tags/1.9/ruby/core/argf/rewind_tags.txt

This file was deleted.

3 changes: 0 additions & 3 deletions spec/tags/1.9/ruby/core/argf/seek_tags.txt

This file was deleted.

2 changes: 0 additions & 2 deletions spec/tags/1.9/ruby/core/argf/skip_tags.txt

This file was deleted.

1 change: 0 additions & 1 deletion spec/tags/1.9/ruby/core/argf/to_a_tags.txt

This file was deleted.

1 change: 0 additions & 1 deletion spec/tags/1.9/ruby/core/argf/to_i_tags.txt

This file was deleted.

1 change: 0 additions & 1 deletion spec/tags/1.9/ruby/core/argf/to_io_tags.txt

This file was deleted.

4 changes: 1 addition & 3 deletions src/org/jruby/RubyArgsFile.java
Original file line number Diff line number Diff line change
Expand Up @@ -234,10 +234,8 @@ private static IRubyObject argf_getline(ThreadContext context, IRubyObject recv,
retry = true;
}
}

assert line == null;

if (line != null && !line.isNil()) {
if (!line.isNil()) {
context.runtime.setCurrentLine(data.currentLineNumber);
}

Expand Down

0 comments on commit e507516

Please sign in to comment.