Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions test/openai/internal/type/base_model_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -154,11 +154,11 @@ module E4

def test_coerce
cases = {
# rubocop:disable Style/BooleanSymbol
# rubocop:disable Lint/BooleanSymbol
[E1, true] => [{yes: 1}, true],
[E1, false] => [{no: 1}, false],
[E1, :true] => [{no: 1}, :true],
# rubocop:enable Style/BooleanSymbol
# rubocop:enable Lint/BooleanSymbol

[E2, 1] => [{yes: 1}, 1],
[E2, 1.0] => [{yes: 1}, 1],
Expand Down