Skip to content

Commit

Permalink
Verify the method name is given to method invocations
Browse files Browse the repository at this point in the history
  • Loading branch information
Vampire committed Aug 21, 2023
1 parent 16562ed commit 174d739
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,7 @@ class FooSpec extends Specification {
assert target != instance
assert method
assert !method.reflection
assert !method.name
}
}

Expand All @@ -249,6 +250,7 @@ class FooSpec extends Specification {
assert target == instance
assert method
assert method.reflection
assert method.name
}
}

Expand All @@ -261,6 +263,7 @@ class FooSpec extends Specification {
assert target != instance
assert method
assert !method.reflection
assert !method.name
}
}

Expand All @@ -273,6 +276,7 @@ class FooSpec extends Specification {
assert target != instance
assert method
assert !method.reflection
assert !method.name
}
}

Expand All @@ -285,6 +289,7 @@ class FooSpec extends Specification {
assert target == instance
assert method
assert method.reflection
assert method.name
}
}

Expand Down

0 comments on commit 174d739

Please sign in to comment.