We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ef9581e commit 8377c5aCopy full SHA for 8377c5a
test/integration/parsers/kwai_test.rb
@@ -7,8 +7,8 @@ class KwaiIntegrationTest < ActiveSupport::TestCase
7
8
assert_kind_of String, data['title']
9
assert_kind_of String, data['description']
10
- assert_equal 'Arthur Virgilio', data['username']
11
- assert_equal 'Arthur Virgilio', data['author_name']
+ assert_match(/arthur\s*virgilio/i, data['username'])
+ assert_match(/arthur\s*virgilio/i, data['author_name'])
12
assert_equal 'kwai', data['provider']
13
assert_equal 'item', data['type']
14
end
0 commit comments