(bugfix) Moving ternary operation to one line
Merge pull request #89 from tochiai/refactor/travistest

(bugfix) Moving ternary operation to one line