Skip to content

Commit

Permalink
add regression tests for reference API on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
0xalpharush committed Mar 22, 2024
1 parent 209df4e commit c16f5fb
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions tests/unit/core/test_source_mapping.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from pathlib import Path

import pytest
from slither import Slither
from slither.core.declarations import Function, CustomErrorTopLevel, EventTopLevel
from slither.core.solidity_types.type_alias import TypeAliasTopLevel, TypeAliasContract
Expand All @@ -9,8 +9,9 @@
SRC_MAPPING_TEST_ROOT = Path(TEST_DATA_DIR, "src_mapping")


def test_source_mapping_inheritance(solc_binary_path):
solc_path = solc_binary_path("0.6.12")
@pytest.mark.parametrize("solc_version", ["0.6.12", "0.8.7", "0.8.8"])
def test_source_mapping_inheritance(solc_binary_path, solc_version):
solc_path = solc_binary_path(solc_version)
file = Path(SRC_MAPPING_TEST_ROOT, "inheritance.sol").as_posix()
slither = Slither(file, solc=solc_path)

Expand Down

0 comments on commit c16f5fb

Please sign in to comment.