mirror of
https://github.com/inspec/inspec
synced 2024-11-23 21:23:29 +00:00
remove string quotes around regexp
This commit is contained in:
parent
23c4bc0a6e
commit
452047011d
1 changed files with 3 additions and 3 deletions
|
@ -1114,9 +1114,9 @@ The following complete example tests the ``pg_hba.conf`` file in |postgresql| fo
|
|||
.. code-block:: bash
|
||||
|
||||
describe file(hba_config_file) do
|
||||
its('content') { should match '/local\s.*?all\s.*?all\s.*?md5/' }
|
||||
its('content') { should match '%r{/host\s.*?all\s.*?all\s.*?127.0.0.1\/32\s.*?md5/}' }
|
||||
its('content') { should match '%r{/host\s.*?all\s.*?all\s.*?::1\/128\s.*?md5/}' }
|
||||
its('content') { should match /local\s.*?all\s.*?all\s.*?md5/ }
|
||||
its('content') { should match %r{/host\s.*?all\s.*?all\s.*?127.0.0.1\/32\s.*?md5/} }
|
||||
its('content') { should match %r{/host\s.*?all\s.*?all\s.*?::1\/128\s.*?md5/} }
|
||||
end
|
||||
|
||||
exist
|
||||
|
|
Loading…
Reference in a new issue