Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4f59ade
commit 4af475c
Showing
9 changed files
with
14 additions
and
20 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 3 additions & 1 deletion
4
spec/filters/bugs/kernel/rand.rb → spec/filters/bugs/kernel.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
opal_filter "Kernel#rand" do | ||
opal_filter "Kernel" do | ||
fails "A class definition allows the definition of class-level instance variables in a class method" | ||
|
||
fails "Kernel.rand returns a float if no argument is passed" | ||
fails "Kernel.rand returns an integer for an integer argument" | ||
end |
This file was deleted.
Oops, something went wrong.
7 changes: 6 additions & 1 deletion
7
spec/filters/bugs/module/method_defined.rb → spec/filters/bugs/module.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
spec/filters/bugs/singleton/instance.rb → spec/filters/bugs/singleton.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
opal_filter "Singleton#instance" do | ||
opal_filter "Singleton" do | ||
fails "Singleton.instance returns an instance of the singleton's clone" | ||
fails "Singleton.instance returns the same instance for multiple class to instance on clones" | ||
end |
4 changes: 3 additions & 1 deletion
4
spec/filters/bugs/string/center.rb → spec/filters/bugs/string.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
opal_filter "String#center" do | ||
opal_filter "String" do | ||
fails "String#center with length, padding pads with whitespace if no padstr is given" | ||
fails "String#center with length, padding returns a new string of specified length with self centered and padded with padstr" | ||
|
||
fails "String#lines should split on the default record separator and return enumerator if not block is given" | ||
end |
This file was deleted.
Oops, something went wrong.