mirror of
https://github.com/discourse/discourse.git
synced 2026-03-04 01:15:08 +08:00
Technically there appear to also be a two and many... but this at least
removes some of the bug.
```
def wrong(n)
n != 13 || n != 14
end
def right(n)
n != 13 && n != 14
end
[13, 14, 15].each do |n|
puts "#{n}: wrong=#{wrong(n)}, right=#{right(n)}"
end
```
15 is (not 13) OR (not 14)
15 is not (not 13) AND (not 14)
apologies for the headache.
|
||
|---|---|---|
| .. | ||
| breton_plural_rule_spec.rb | ||
| discourse_i18n_spec.rb | ||
| fallback_locale_list_spec.rb | ||
| i18n_interpolation_keys_finder_spec.rb | ||