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

fixes #52, #68, updated doc #67

Open
wants to merge 19 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
merge style in the same code block
sgissinger committed Nov 23, 2020
commit 35265638bec8f0b36e4a5fb442d6fd21faeb9cc2
8 changes: 4 additions & 4 deletions docs/attributes-operators.rst
Original file line number Diff line number Diff line change
@@ -40,14 +40,14 @@ Chainable semantic attributes which define positive assertions.

.. code-block:: python

# should style
'foo' | should.be.equal.to('bar')
'foo' | should.have.length.of(3)

{'foo': 'bar'} | should.have.key('foo').which.should.be.equal.to('bar')
{'foo': 'bar'} | should.have.key('foo').that.should.have.length.of(3)

.. code-block:: python

# expect style
expect('foo').to.equal.to('bar')
expect('foo').to.have.length.of(3)

@@ -95,10 +95,10 @@ Chainable semantic attributes which define negative assertions.

.. code-block:: python

# should style
'foo' | should.not_be.equal.to('bar')
'foo' | should.have_not.length.of(3)

.. code-block:: python

# expect style
expect('foo').to_not.equal.to('bar')
expect('foo').to.not_have.length.of(3)