Skip to content

Commit

Permalink
diffのoptionを修正
Browse files Browse the repository at this point in the history
  • Loading branch information
kmyk committed Sep 30, 2015
1 parent e147df8 commit deb865b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions README.md
Expand Up @@ -131,6 +131,7 @@ OnlineJudgeHelperは幾つかのブログで紹介されました。
- サンプル取得、提出、コンパイル、テスト実行、全て分けるべき
- 特にコンパイルは不要/勝手にやられると不便
- テスト実行も同じである必要は特にない
- 横に長いとき出力が見切れるの対処
- カレントディレクトリからいい感じにcontest\_idやproblem\_idを推測させたい
- 大本のリポジトリにプルリク投げる
- ライセンスが不明な状態を解消する
Expand Down
2 changes: 1 addition & 1 deletion validator.py
Expand Up @@ -8,7 +8,7 @@ def validate(self, answer_path, output_path):

class DiffValidator(Validator):
def validate(self, answer_path, output_path):
return subprocess.call(['diff', answer_path, output_path, '-y', '--strip-trailing-cr', '-W', '79', '-a', '-d']) == 0
return subprocess.call(['diff', '-y', '-d', answer_path, output_path]) == 0


class FloatingPointValidator(Validator):
Expand Down

0 comments on commit deb865b

Please sign in to comment.