From ad21beef89c3dcdba2b898b39d91aade7db369c7 Mon Sep 17 00:00:00 2001 From: Ryan Potts Date: Mon, 24 Sep 2018 15:08:45 -0400 Subject: [PATCH] pascals-triangle: remove case that is out of scope --- exercises/pascals-triangle/canonical-data.json | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/exercises/pascals-triangle/canonical-data.json b/exercises/pascals-triangle/canonical-data.json index 82664cb7bc..2d9c06e4e5 100644 --- a/exercises/pascals-triangle/canonical-data.json +++ b/exercises/pascals-triangle/canonical-data.json @@ -1,10 +1,9 @@ { "exercise": "pascals-triangle", - "version": "1.4.0", + "version": "1.5.0", "comments": [ "Expectations are represented here as an array of arrays.", - "How you represent this idiomatically in your language is up to you.", - "An expectation of 'error' indicates some sort of failure should occur." + "How you represent this idiomatically in your language is up to you." ], "cases": [ { @@ -73,14 +72,6 @@ "count": 10 }, "expected": [[1], [1, 1], [1, 2, 1], [1, 3, 3, 1], [1, 4, 6, 4, 1], [1, 5, 10, 10, 5, 1], [1, 6, 15, 20, 15, 6, 1], [1, 7, 21, 35, 35, 21, 7, 1], [1, 8, 28, 56, 70, 56, 28, 8, 1], [1, 9, 36, 84, 126, 126, 84, 36, 9, 1]] - }, - { - "description": "negative rows", - "property": "rows", - "input": { - "count": -1 - }, - "expected": {"error": "count must be positive"} } ] }