From 119b179b68ca85e9cdfe1e10d2f140fbb1c17e8c Mon Sep 17 00:00:00 2001 From: Yihui Xie Date: Tue, 8 Nov 2016 15:57:21 -0600 Subject: [PATCH] cosmetic --- tests/testit/test-assert.R | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/testit/test-assert.R b/tests/testit/test-assert.R index 8d7791c..55b9034 100644 --- a/tests/testit/test-assert.R +++ b/tests/testit/test-assert.R @@ -1,11 +1,11 @@ library(testit) -assert('assert works', 1==1) +assert('assert works', 1 == 1) # Okay, that is kind of cheating assert( 'assert() should signal an error if a condition does not hold', - has_error(assert('this should produce an error', 1==2)) + has_error(assert('this should produce an error', 1 == 2)) ) # a meaningless test in terms of R (failure is irrelevant to Frequentist or Bayesian)