Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can we use assert_includes to check if result contains any expected values #23

Open
khumnath opened this issue Aug 31, 2024 · 0 comments

Comments

@khumnath
Copy link
Contributor

can we do

list.each do |word, expected|
    result = @varnam.reverse_transliterate(word)
    expected.each do |exp|
      assert_includes result, exp

instead

schemes/test/ml.rb

Lines 42 to 43 in 025ce03

list.each do |word, expected|
assert_equal expected, @varnam.reverse_transliterate(word)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant