Skip to content

Commit

Permalink
test: Fix a typo (#154)
Browse files Browse the repository at this point in the history
  • Loading branch information
kojix2 authored Oct 17, 2024
1 parent a276f40 commit 1f818e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/fiddle/test_import.rb
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ def test_nested_struct_reusing_other_structs()

keyboard_event_struct = Fiddle::Importer.struct(['unsigned int state', 'char key'])
mouse_event_struct = Fiddle::Importer.struct(['unsigned int button', 'unsigned short x', 'unsigned short y'])
event_union = Fiddle::Importer.union([{ keboard: keyboard_event_struct, mouse: mouse_event_struct}])
event_union = Fiddle::Importer.union([{ keyboard: keyboard_event_struct, mouse: mouse_event_struct}])
assert_equal LIBC::UnionNestedStruct.size, event_union.size
end

Expand Down

0 comments on commit 1f818e4

Please sign in to comment.