Registry / testing / rspec-match-ignoring-whitespace

rspec-match-ignoring-whitespace

JSON →
library1.2.1rbrubygemsunverified

An RSpec matcher that compares strings while ignoring whitespace differences.

gem install rspec-match_ignoring_whitespace
INSTALL
IMPORT
SIG · RSPEC-MATCH-IGNORI
R
rspec-match-ignoring-whitespace
testingrubyv1.2.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

RSpec::MatchIgnoringWhitespace
require 'rspec/match_ignoring_whitespace'

Use the custom matcher in an RSpec test to compare strings with flexible whitespace.

require 'rspec/match_ignoring_whitespace' RSpec.describe 'example' do it 'matches ignoring whitespace' do expect('hello world').to match_ignoring_whitespace('hello world') end end
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.2.1latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
15 hits · last 30 days
node
14
Resources
rspec-match-ignoring-whitespace — gem install rspec-match-ignoring-whitespace · libregistry