Skip to content

Commit

Permalink
add test
Browse files Browse the repository at this point in the history
  • Loading branch information
liziwl committed Sep 13, 2024
1 parent 47b9893 commit 7cfea75
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions test/test-files.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import os
import re
import shutil
import sys


def change_line(filename, old, new):
Expand Down Expand Up @@ -114,11 +113,9 @@ def backup(filename, mode):
filename = "sustech-setup.tex"
backup(filename, TOBACKUP)
if not args.undo:
comment_line(filename, "{gbt7714}", True)
comment_line(filename, "citestyle{super}", True)
comment_line(filename, "citestyle{numbers}", True)
comment_line(filename, "{natbib}", True)
comment_line(filename, "bibliographystyle{sustechthesis-numeric}", True)
comment_line(filename, "{biblatex}", False)
comment_line(filename, "gb7714-2015,.*{biblatex}", False)
comment_line(filename, "addbibresource{ref/refs.bib}", False)
elif args.recipe == 4:
# progress
Expand Down

0 comments on commit 7cfea75

Please sign in to comment.