[dylan-lang/testworks] 7617ab: Switch args to assert-instance?, assert-not-instan...

GitHub <[email protected]> Fri, 18 Sep 2015 02:15:24 -0700
Newsgroups gmane.comp.lang.dylan.gwydion.cvs
Message-ID <55fbd62c8f42b_6f203ff1fc60f29c10119@hookshot-fe4-cp1-prd.iad.github.net.mail>
  Branch: refs/heads/flip-instance-checks
  Home:   https://github.com/dylan-lang/testworks
  Commit: 7617ab55127e548226b87f670999ba9d4867b162
      https://github.com/dylan-lang/testworks/commit/7617ab55127e548226b87f670999ba9d4867b162
  Author: Bruce Mitchener <[email protected]>
  Date:   2015-09-18 (Fri, 18 Sep 2015)

  Changed paths:
    M assertions.dylan
    M documentation/users-guide/source/reference.rst
    M tests/testworks-test-suite.dylan

  Log Message:
  -----------
  Switch args to assert-instance?, assert-not-instance?.

* assertions.dylan
  (macro assert-instance?): Swap type and value arguments.
  (macro assert-not-instance?): Likewise.
  (do-check-instance?): Likewise.

* documentation/users-guide/source/reference.rst: Update for
  new argument order.

* tests/testworks-test-suite.dylan: Likewise.


  Commit: 46590aa80a877d679ab9ac7c982a9c64a0c50a8a
      https://github.com/dylan-lang/testworks/commit/46590aa80a877d679ab9ac7c982a9c64a0c50a8a
  Author: Bruce Mitchener <[email protected]>
  Date:   2015-09-18 (Fri, 18 Sep 2015)

  Changed paths:
    M assertions.dylan
    M documentation/users-guide/source/reference.rst
    M specs/class-specs.dylan
    M specs/function-specs.dylan
    M specs/variable-specs.dylan
    M tests/specification.dylan
    M tests/testworks-test-suite.dylan

  Log Message:
  -----------
  Switch arguments to check-instance?.

Bring this in line with assert-instance? and assert-not-instance?
which are newly in line with instance? itself.

This is not a backwards compatible change.

* assertions.dylan
  (macro check-instance?): Update for new argument order.

* documentation/users-guide/source/reference.rst: Likewise.

* specs/class-specs.dylan
  (check-protocol-class): Likewise.
  (check-protocol-class-instantiation): Likewise.

* specs/function-specs.dylan
  (check-protocol-function): Likewise.

* specs/variable-specs.dylan
  (check-protocol-variable): Likewise.
  (check-protocol-constant): Likewise.

* tests/specification.dylan
  (test-output): Likewise.

* tests/testworks-test-suite.dylan
  (testworks-check-instance?-test): Likewise.


Compare: https://github.com/dylan-lang/testworks/compare/7617ab55127e^...46590aa80a87

_______________________________________________
chatter mailing list
[email protected]
https://lists.opendylan.org/mailman/listinfo/chatter