Skip to content

Commit

Permalink
Showing 2 changed files with 10 additions and 10 deletions.
6 changes: 3 additions & 3 deletions spec/compiler/codegen/new_spec.cr
Original file line number Diff line number Diff line change
@@ -84,7 +84,7 @@ describe "Code gen: new" do
)).to_i.should eq(42)
end

it "oveloads new and initialize, 1 (#2489)" do
it "overloads new and initialize, 1 (#2489)" do
run(%(
class String
def size
@@ -113,7 +113,7 @@ describe "Code gen: new" do
)).to_i.should eq(10)
end

it "oveloads new and initialize, 2 (#2489)" do
it "overloads new and initialize, 2 (#2489)" do
run(%(
class Global
@@x = 0
@@ -144,7 +144,7 @@ describe "Code gen: new" do
)).to_i.should eq(6)
end

it "oveloads new and initialize, 3 (#2489)" do
it "overloads new and initialize, 3 (#2489)" do
run(%(
class Global
@@x = 0
14 changes: 7 additions & 7 deletions spec/compiler/semantic/splat_spec.cr
Original file line number Diff line number Diff line change
@@ -111,7 +111,7 @@ describe "Semantic: splat" do
)) { int32 }
end

it "oveloards with type restriction and splat (1)" do
it "overloads with type restriction and splat (1)" do
assert_type(%(
def foo(arg : Int32)
1
@@ -125,7 +125,7 @@ describe "Semantic: splat" do
)) { int32 }
end

it "oveloards with type restriction and splat (2)" do
it "overloads with type restriction and splat (2)" do
assert_type(%(
def foo(arg : Int32)
1
@@ -149,7 +149,7 @@ describe "Semantic: splat" do
"no overload matches"
end

it "oveloards with type restriction and splat (3)" do
it "overloads with type restriction and splat (3)" do
assert_type(%(
def foo(*args : Char)
"hello"
@@ -163,7 +163,7 @@ describe "Semantic: splat" do
)) { string }
end

it "oveloards with type restriction and splat (4)" do
it "overloads with type restriction and splat (4)" do
assert_type(%(
def foo(*args : Char)
"hello"
@@ -177,7 +177,7 @@ describe "Semantic: splat" do
)) { float64 }
end

it "oveloards with type restriction and splat (5)" do
it "overloads with type restriction and splat (5)" do
assert_type(%(
def foo(*args : Int32)
"hello"
@@ -191,7 +191,7 @@ describe "Semantic: splat" do
)) { string }
end

it "oveloards with type restriction and splat (6)" do
it "overloads with type restriction and splat (6)" do
assert_type(%(
def foo(*args : Int32)
"hello"
@@ -205,7 +205,7 @@ describe "Semantic: splat" do
)) { float64 }
end

it "oveloards with type restriction and splat (7)" do
it "overloads with type restriction and splat (7)" do
assert_type(%(
def foo(*args)
foo args

0 comments on commit 556c8b1

Please sign in to comment.