Skip to content

Excess spacing in console output #62

@johtso

Description

@johtso

I'm using iTerm on OSX.

Output looks like this in color mode:

pathStatus:

  [Empty,Empty,Empty] -> Unfinished: [OK]

  [Empty,Piece X,Empty] -> Unfinished: [OK]

  [Piece X,Piece O,Empty] -> Unfinished: [OK]

  [Piece X,Piece X,Piece X] -> Win X: [OK]

  [Piece X,T,Piece X] -> Win X: [OK]

  [T,T,Piece X] -> Win X: [OK]

  [T,T,T] -> Draw: [OK]

  [Piece X,Piece X,Piece O] -> Draw: [OK]
finalGameStatus:

  [Win X,Unfinished] -> Win X: [OK]

  [Win X,Win O] -> Win X: [OK]

  [Unfinished,Unfinished] -> Unfinished: [OK]

  [Win X,Draw] -> Win X: [OK]

         Test Cases   Total
 Passed  12           12
 Failed  0            0
 Total   12           12

But looks fine in plain mode:

pathStatus:
  [Empty,Empty,Empty] -> Unfinished: [OK]
  [Empty,Piece X,Empty] -> Unfinished: [OK]
  [Piece X,Piece O,Empty] -> Unfinished: [OK]
  [Piece X,Piece X,Piece X] -> Win X: [OK]
  [Piece X,T,Piece X] -> Win X: [OK]
  [T,T,Piece X] -> Win X: [OK]
  [T,T,T] -> Draw: [OK]
  [Piece X,Piece X,Piece O] -> Draw: [OK]
finalGameStatus:
  [Win X,Unfinished] -> Win X: [OK]
  [Win X,Win O] -> Win X: [OK]
  [Unfinished,Unfinished] -> Unfinished: [OK]
  [Win X,Draw] -> Win X: [OK]

         Test Cases   Total
 Passed  12           12
 Failed  0            0
 Total   12           12

And hide successes looks like this:

pathStatus:








finalGameStatus:





         Test Cases   Total
 Passed  12           12
 Failed  0            0
 Total   12           12

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions