Skip to content

Commit

Permalink
Merge pull request #2282 from d-holbach/code-type-fix
Browse files Browse the repository at this point in the history
fixed small typo
  • Loading branch information
koic committed Mar 14, 2021
2 parents 5c837d8 + 029782d commit 5aa8418
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/faker/default/code.rb
Expand Up @@ -61,7 +61,7 @@ def ean(legacy_base = NOT_GIVEN, base: 13)
case base
when 8 then generate_base8_ean
when 13 then generate_base13_ean
else raise ArgumentError, 'base must be 3 or 13'
else raise ArgumentError, 'base must be 8 or 13'
end
end

Expand Down

0 comments on commit 5aa8418

Please sign in to comment.