Skip to content

Commit

Permalink
Adjust indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
andreasnoack committed Oct 7, 2020
1 parent 48eb66b commit 5045e8b
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions test/show.jl
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ d = [[762,484] [327,239] [468,477]]
m = PowerDivergenceTest(d)

if VERSION < v"1.4"
@test sprint(show, m, context=:compact => true) ==
@test sprint(show, m, context=:compact => true) ==
"""
Pearson's Chi-square Test
-------------------------
Expand All @@ -28,10 +28,10 @@ if VERSION < v"1.4"
std. residuals: [4.50205, -4.50205, 0.699452, -0.699452, -5.31595, 5.31595]
"""

d = [ 20, 15, 25 ]
m = PowerDivergenceTest(d)
d = [ 20, 15, 25 ]
m = PowerDivergenceTest(d)

@test sprint(show, m, context=:compact => true) ==
@test sprint(show, m, context=:compact => true) ==
"""
Pearson's Chi-square Test
-------------------------
Expand All @@ -53,7 +53,7 @@ m = PowerDivergenceTest(d)
std. residuals: [0.0, -1.36931, 1.36931]
"""
else
@test sprint(show, m, context=:compact => true) ==
@test sprint(show, m, context=:compact => true) ==
"""
Pearson's Chi-square Test
-------------------------
Expand All @@ -75,10 +75,10 @@ else
std. residuals: [4.50205, -4.50205, 0.699452, -0.699452, -5.31595, 5.31595]
"""

d = [ 20, 15, 25 ]
m = PowerDivergenceTest(d)
d = [ 20, 15, 25 ]
m = PowerDivergenceTest(d)

@test sprint(show, m, context=:compact => true) ==
@test sprint(show, m, context=:compact => true) ==
"""
Pearson's Chi-square Test
-------------------------
Expand Down

0 comments on commit 5045e8b

Please sign in to comment.