From 55c24280cf6ee2c881dbeb06a726e3a8dfa772ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emilio=20L=C3=B3pez?= Date: Fri, 6 Jan 2023 12:36:57 -0300 Subject: [PATCH] tests: source_unit: remove submodule --- tests/source_unit/README.md | 3 +++ tests/source_unit/lib/forge-std | 1 - tests/test_source_unit.py | 2 ++ 3 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 tests/source_unit/README.md delete mode 160000 tests/source_unit/lib/forge-std diff --git a/tests/source_unit/README.md b/tests/source_unit/README.md new file mode 100644 index 000000000..9cf3657e0 --- /dev/null +++ b/tests/source_unit/README.md @@ -0,0 +1,3 @@ +# README + +Before using this project, run `forge init --no-git --no-commit --force` to initialize submodules diff --git a/tests/source_unit/lib/forge-std b/tests/source_unit/lib/forge-std deleted file mode 160000 index eb980e1d4..000000000 --- a/tests/source_unit/lib/forge-std +++ /dev/null @@ -1 +0,0 @@ -Subproject commit eb980e1d4f0e8173ec27da77297ae411840c8ccb diff --git a/tests/test_source_unit.py b/tests/test_source_unit.py index 7b653599e..f979a41ec 100644 --- a/tests/test_source_unit.py +++ b/tests/test_source_unit.py @@ -1,5 +1,7 @@ from slither import Slither +# NB: read tests/source_unit/README.md before using this test + def test_contract_info() -> None: slither = Slither("./tests/source_unit")