From f06c82b7088ee8e2a96461683f0673162e2fac3e Mon Sep 17 00:00:00 2001 From: David Chambers Date: Fri, 29 Mar 2019 16:31:26 +0100 Subject: [PATCH] add documentation URLs --- test/index.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/test/index.js b/test/index.js index 953361d..0f64e30 100644 --- a/test/index.js +++ b/test/index.js @@ -3280,7 +3280,7 @@ See https://github.com/sanctuary-js/sanctuary-def/tree/v${version}#Type for info // Palindrome :: Type -> Type const Palindrome = $.UnaryType ('my-package/Palindrome') - ('') + ('http://example.com/my-package#Palindrome') ([$.Array ($.Unknown)]) (xs => Z.equals (xs, Z.reverse (xs))) (palindrome => palindrome); @@ -3322,12 +3322,12 @@ See https://github.com/sanctuary-js/sanctuary-def/tree/v${version}#Type for info test ('supports subtyping', () => { // Different :: Type -> Type -> Type const Different = $.BinaryType - ('my-package/FooBar') - ('') + ('my-package/Different') + ('http://example.com/my-package#Different') ([$.Array2 ($.Unknown) ($.Unknown)]) (array2 => !(Z.equals (array2[0], array2[1]))) - (array2 => [array2[0]]) - (array2 => [array2[1]]); + (different => [different[0]]) + (different => [different[1]]); eq ($.test ([]) (Different ($.String) ($.String)) ([null, null])) (false); eq ($.test ([]) (Different ($.String) ($.String)) ([null, 'foo'])) (false);