Skip to content

Commit

Permalink
test: fix test again
Browse files Browse the repository at this point in the history
  • Loading branch information
antazoey committed Sep 9, 2024
1 parent 842467c commit 8cc1f5e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/ape/managers/project.py
Original file line number Diff line number Diff line change
Expand Up @@ -2137,7 +2137,7 @@ def __getattr__(self, item: str) -> Any:

message = (
f"{message} However, there is a source file named '{path.name}'. "
"This file may no be compiling (see error above), or maybe you meant "
"This file may not be compiling (see error above), or maybe you meant "
"to reference a contract name from this source file?"
)
did_append = True
Expand Down
2 changes: 1 addition & 1 deletion tests/functional/test_project.py
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ def test_getattr_same_name_as_source_file(project_with_source_files_contract):
r"'LocalProject' object has no attribute 'ContractA'\. "
r"Also checked extra\(s\) 'contracts'\. "
r"However, there is a source file named 'ContractA\.sol'\. "
r"This file may no be compiling (see error above), "
r"This file may not be compiling \(see error above\), "
r"or maybe you meant to reference a contract name from this source file\? "
r"Else, could it be from one of the missing compilers for extensions: .*"
)
Expand Down

0 comments on commit 8cc1f5e

Please sign in to comment.