Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fixes overload typo in specs (#4967)
  • Loading branch information
samueleaton authored and RX14 committed Sep 13, 2017
1 parent 28484f8 commit 556c8b1
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
6 changes: 3 additions & 3 deletions spec/compiler/codegen/new_spec.cr
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
14 changes: 7 additions & 7 deletions spec/compiler/semantic/splat_spec.cr
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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"
Expand All @@ -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"
Expand All @@ -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"
Expand All @@ -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"
Expand All @@ -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
Expand Down

0 comments on commit 556c8b1

Please sign in to comment.