diff --git a/sources/dylan/tests/collections.dylan b/sources/dylan/tests/collections.dylan index 62c1c8cdc8..dd6f2f7a88 100644 --- a/sources/dylan/tests/collections.dylan +++ b/sources/dylan/tests/collections.dylan @@ -834,9 +834,9 @@ define method test-element element(collection, -1, default: default), default); unless (type == ) - check-condition(format-to-string("%s element wrong default type errors", name), - , - element(collection, -1, default: #"wrong-default-type")); + check-equal(format-to-string("%s element wrong default type allowed", name), + element(collection, -1, default: #"wrong-default-type"), + #"wrong-default-type"); end unless; for (key in key-sequence(collection)) check-equal(format-to-string("%s element %=", name, key), diff --git a/sources/dylan/tests/specification.dylan b/sources/dylan/tests/specification.dylan index 5fa19b5953..2b6ac6c819 100644 --- a/sources/dylan/tests/specification.dylan +++ b/sources/dylan/tests/specification.dylan @@ -280,15 +280,17 @@ define protocol-spec collections () function head-setter (, ) => (); function tail-setter (, ) => (); open generic-function add (, ) => (); - open generic-function add! (, ) => (); + //--- DRM defines add! for , but OD supports it for all . + open generic-function add! (, ) => (); open generic-function add-new (, , #"key", #"test") => (); open generic-function add-new! (, , #"key", #"test") => (); open generic-function remove (, , #"key", #"test", #"count") => (); + //--- DRM defines remove! for , but OD supports it for all . open generic-function remove! - (, , #"key", #"test", #"count") => (); + (, , #"key", #"test", #"count") => (); open generic-function push (, ) => (); open generic-function pop () => (); open generic-function push-last (, ) => ();