Skip to content

Commit

Permalink
Fix referenced method names.
Browse files Browse the repository at this point in the history
  • Loading branch information
bakkdoor committed Jul 9, 2012
1 parent bc25760 commit f61c300
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion tests/fixnum.fy
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ FancySpec describe: Fixnum with: {
sum is: ((10..19) sum)
}

it: "tries to run a code block self amount of times or fails" with: 'try_times: when: {
it: "tries to run a code block self amount of times or fails" with: 'times_try: when: {
{ -2 times_try: { 2 / 0 } } does_not raise: Exception
{ -1 times_try: { 2 / 0 } } does_not raise: Exception
{ 0 times_try: { 2 / 0 } } does_not raise: Exception
Expand Down
4 changes: 2 additions & 2 deletions tests/object.fy
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ FancySpec describe: Object with: {
o2 get_slot: 'slot2 == (o1 slot2) is: true
}

it: "returns itself when return is send as a message" with: 'return when: {
it: "returns itself when return is send as a message" when: {
def foo: array {
array each: @{ return }
}
Expand All @@ -293,7 +293,7 @@ FancySpec describe: Object with: {
v is: [1]
}

it: "provides temporarily mutable slots" with: 'with_mutable_slots: when: {
it: "provides temporarily mutable slots" with: 'with_mutable_slots:do: when: {
class Student {
read_slots: ('name, 'age, 'city)
def initialize: block {
Expand Down
2 changes: 1 addition & 1 deletion tests/tuple.fy
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ FancySpec describe: Tuple with: {
{ Tuple new: 2 } does_not raise: ArgumentError
}

it: "creates tuples dynamically" with: 'with_values when: {
it: "creates tuples dynamically" with: 'with_values: when: {
Tuple with_values: [1,2,3] . is: (1,2,3)
Tuple with_values: ["foo",'bar,42] . is: ("foo", 'bar, 42)
Tuple with_values: ('hello, 'world) . is: ('hello, 'world)
Expand Down

0 comments on commit f61c300

Please sign in to comment.