Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Assert, getter function always fail with expecting a property #1090

@sukrosono

Description

@sukrosono

For the reproduction shake only assert.decreasesBy. See reproduction, line 16 pass; 18, 19 both fail.

AssertionError: 1: expected [Function: fn] to have property 'x'

But i suspecting:

  • assert.decreasesButNotBy
  • assert.increasesBy
  • assert.increasesButNotBy

When use getter function, let me know if i am wrong.
Discovered when made #1085 to aim #1084.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions