Skip to content

Commit 4a16988

Browse files
committed
Fix typo and resolve style issues
1 parent 7e6ce4f commit 4a16988

File tree

1 file changed

+3
-4
lines changed
  • lib/node_modules/@stdlib/stats/anova1/test

1 file changed

+3
-4
lines changed

lib/node_modules/@stdlib/stats/anova1/test/test.js

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,7 @@ tape( 'the function throws an error if the `x` argument is not a numeric array',
5959

6060
function badValue( value ) {
6161
return function badValue() {
62-
// Make the factor the same
63-
anova1( value, ['treatment A', 'control'] );
62+
anova1( value, [ 'treatment A', 'control' ] );
6463
};
6564
}
6665
});
@@ -81,7 +80,7 @@ tape( 'the function throws an error if the `x` argument has a length smaller tha
8180

8281
function badValue( value ) {
8382
return function badValue() {
84-
anova1( value, ['treatment A', 'control'] );
83+
anova1( value, [ 'treatment A', 'control' ] );
8584
};
8685
}
8786
});
@@ -191,7 +190,7 @@ tape( 'the function produces expected values on simple inputs', function test( t
191190
f = [ 'treatment A', 'control', 'treatment B', 'treatment A', 'control', 'treatment B', 'treatment A', 'control', 'treatment B', 'treatment A' ];
192191
out = anova1( x, f );
193192

194-
// Tested against R
193+
// Tested against R:
195194
t.equal( out.treatment.df, 2 );
196195
t.equal( out.treatment.ss, 3.75 );
197196
t.equal( out.treatment.mss, 1.875 );

0 commit comments

Comments
 (0)