Skip to content

Commit

Permalink
Fixing compile errors.
Browse files Browse the repository at this point in the history
  • Loading branch information
mwaxmonsky committed Oct 15, 2024
1 parent 148ab49 commit 166c419
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions test/test_hashable.pf
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,9 @@ subroutine test_hashable_int_key_and_val_equal_input()

call new_hashable_int(1, p)

@assertEqual(1, p%val()) ! Assert value is the same it was created with
@assertEqual("1", p%key()) ! Assert key is string version of val
! Assert value and key are the same the hashable was created with
@assertEqual(1, p%val())
@assertEqual("1", p%key())

end subroutine test_hashable_int_key_and_val_equal_input

Expand All @@ -23,7 +24,8 @@ subroutine test_hashable_char_key_equal_input()

call new_hashable_char("a", p)

@assertEqual("a", p%key()) ! Assert key is same as input into object
! Assert key is same as input into the hashable
@assertEqual("a", p%key())

end subroutine test_hashable_char_key_equal_input

0 comments on commit 166c419

Please sign in to comment.