blob: aff2f2eb611c4af6958c68a83f8d90333f038f60 [file] [log] [blame]
#!/usr/bin/env python3
import os
import sys
assert len(sys.argv) == 3
fname = sys.argv[1]
check_str = sys.argv[2]
assert os.path.isfile(fname)
with open(fname, 'r', encoding='utf-8') as f:
assert check_str in f.read()