Sha256: 9924f292382cd36efb22643a7e4055d245933f8a52d451e593272608c7d794cc

Contents?: true

Size: 949 Bytes

Versions: 24

Compression:

Stored size: 949 Bytes

Contents

body
  foo 1 == 1
  foo '1' == 1
  foo 1 == '1'
  foo 1 == '5' == false
  foo 5 == 1 == false
  foo 5 != 1
  foo 5 != asdf
  foo 5 == asdf == false

body
  foo 1000ms == 1s
  foo 1s == 1000ms
  foo 1s == 500ms == false

body
  foo wahoo == wahoo
  foo wahoo == 'wahoo'
  foo wahoo == unquote('wahoo')

body
  foo unquote('wahoo') == wahoo
  foo 'wahoo' == wahoo

body
  something = 'yay'
  foo yes == (something is defined ? yes : nope)
  foo nope == (whatever is defined ? yes : nope)

body
  foo: (1 2 3) == (1 2 3)
  foo: (foo bar baz) == (foo bar baz)
  foo: () == ()

body
  foo: (foo bar baz) == (foo hey baz)
  foo: (1 2 3) == (1 2 0)
  foo: (1) == (1 2 3)
  foo: (2 2) == (2)
  foo: (2 2) == ()
  foo: () == true
  foo: true == ()
  foo: !!()

body
  foo: (1 2 3) != (1 1 3)
  foo: (foo bar baz) != (foo 1 2)
  foo: () != (1)
  foo: (1) != (0)
  foo: () != (null)

body
  foo: (1 2 3) != (1 2 3)
  foo: (foo bar) != (foo bar)
  foo: () != ()

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
stylus-source-0.23.0 vendor/test/cases/operators.equality.styl
stylus-source-0.22.6 vendor/test/cases/operators.equality.styl
stylus-source-0.22.5 vendor/test/cases/operators.equality.styl
stylus-source-0.22.4 vendor/test/cases/operators.equality.styl
stylus-source-0.22.3 vendor/test/cases/operators.equality.styl
stylus-source-0.22.2 vendor/test/cases/operators.equality.styl
stylus-source-0.22.1 vendor/test/cases/operators.equality.styl
stylus-source-0.22.0 vendor/test/cases/operators.equality.styl
stylus-source-0.21.2 vendor/test/cases/operators.equality.styl
stylus-source-0.21.1 vendor/test/cases/operators.equality.styl
stylus-source-0.21.0 vendor/test/cases/operators.equality.styl
stylus-source-0.20.1 vendor/test/cases/operators.equality.styl
stylus-source-0.20.0 vendor/test/cases/operators.equality.styl
stylus-source-0.19.8 vendor/test/cases/operators.equality.styl
stylus-source-0.19.7 vendor/test/cases/operators.equality.styl
stylus-source-0.19.6 vendor/test/cases/operators.equality.styl
stylus-source-0.19.5 vendor/test/cases/operators.equality.styl
stylus-source-0.19.4 vendor/test/cases/operators.equality.styl
stylus-source-0.19.3 vendor/test/cases/operators.equality.styl
stylus-source-0.19.2 vendor/test/cases/operators.equality.styl