Skip to content

Commit 15b22fb

Browse files
committed
Require opal/platfrom where OPAL_PLATFORM is used
1 parent 29ebb8b commit 15b22fb

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

lib-opal/opal/rspec/fixes/opal.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
require 'opal/platform'
2+
13
class IO
24
def closed?
35
true

lib/opal/rspec/runner.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,6 @@ def initialize(&block)
7878
options = []
7979
options << '--arity-check' if arity_checking?
8080
options += ['--runner', runner] unless runner.empty?
81-
options << '-ropal/platform'
8281
options << '-ropal-rspec'
8382
options << '--missing-require=ignore'
8483
options += @legacy_server_proxy.to_cli_options

spec-opal/spec_helper.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
require 'opal/rspec/async'
2-
require 'opal/platform'
32

43
RSpec::configure do |config|
54
config.filter_run_including focus: true

0 commit comments

Comments
 (0)