From b0bfe0f74837a6075480fb11a64ca82a8cd76a0f Mon Sep 17 00:00:00 2001 From: Ozzie Gooen Date: Thu, 28 Apr 2022 08:14:07 -0400 Subject: [PATCH] Fixed tests --- .../ReducerInterface/ReducerInterface_Distribution_test.res | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/squiggle-lang/__tests__/ReducerInterface/ReducerInterface_Distribution_test.res b/packages/squiggle-lang/__tests__/ReducerInterface/ReducerInterface_Distribution_test.res index 33afd311..4df843bb 100644 --- a/packages/squiggle-lang/__tests__/ReducerInterface/ReducerInterface_Distribution_test.res +++ b/packages/squiggle-lang/__tests__/ReducerInterface/ReducerInterface_Distribution_test.res @@ -92,11 +92,11 @@ describe("eval on distribution functions", () => { testEval("log(2, uniform(5,8))", "Ok(Sample Set Distribution)") testEval( "log(normal(5,2), 3)", - "Error(Distribution Math Error: Logarithm of input error: First input must completely greater than 0)", + "Error(Distribution Math Error: Logarithm of input error: First input must be completely greater than 0)", ) testEval( "log(normal(5,2), normal(10,1))", - "Error(Distribution Math Error: Logarithm of input error: First input must completely greater than 0)", + "Error(Distribution Math Error: Logarithm of input error: First input must be completely greater than 0)", ) testEval("log(uniform(5,8))", "Ok(Sample Set Distribution)") testEval("log10(uniform(5,8))", "Ok(Sample Set Distribution)")