Skip to content

Commit f4f00b4

Browse files
committed
Fix formatting issues and rename test case
1 parent 5804dc5 commit f4f00b4

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

Diff for: src/bootstrap/bootstrap.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -186,9 +186,9 @@ def verify(path, expected, verbose):
186186
verified = found == expected
187187
if not verified:
188188
eprint(
189-
"invalid checksum:\n"
190-
" found: {}\n"
191-
" expected: {}".format(found, expected)
189+
"invalid checksum:\n" " found: {}\n" " expected: {}".format(
190+
found, expected
191+
)
192192
)
193193
return verified
194194

Diff for: src/bootstrap/bootstrap_test.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -251,8 +251,7 @@ def test_warnings(self):
251251
self.assertTrue("-Dwarnings" in env["RUSTFLAGS"])
252252

253253

254-
class TestRustBuild(unittest.TestCase):
255-
254+
class TestProfileOverride(unittest.TestCase):
256255
@patch("os.path.exists")
257256
@patch("bootstrap.RustBuild.get_toml_static")
258257
def test_profile_none_with_non_git_source(self, mock_get_toml_static, mock_exists):

0 commit comments

Comments
 (0)