Skip to content

Commit 4bca1d8

Browse files
committed
Fix test
1 parent 8af8831 commit 4bca1d8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/create_test.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ def draw
2222
end
2323
end
2424
25-
FredSketch.new unless defined? $app
25+
FredSketch.new if Processing.app.nil?
2626
2727
CODE
2828

@@ -64,7 +64,7 @@ def draw
6464

6565
class SketchWriterTest < Minitest::Test
6666
ParamMethods = Struct.new(:name, :class_name, :sketch_title, :sketch_size)
67-
67+
6868
def setup
6969
@param = ParamMethods.new(
7070
'fred_sketch',

0 commit comments

Comments
 (0)