aboutsummaryrefslogtreecommitdiffstats
path: root/tests/query
diff options
context:
space:
mode:
Diffstat (limited to 'tests/query')
-rw-r--r--tests/query/highlights/solidity/test.sol8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/query/highlights/solidity/test.sol b/tests/query/highlights/solidity/test.sol
index a4b642ee6..062970fdd 100644
--- a/tests/query/highlights/solidity/test.sol
+++ b/tests/query/highlights/solidity/test.sol
@@ -4,13 +4,13 @@
// ^ comment
pragma solidity >=0.7.0 <0.9.0;
// ^ preproc
-// ^ attribute
+// ^ preproc
import * as something from "anotherFile";
// ^ ^ ^ include
/// @title Voting with delegation.
-// ^ preproc
+// <- comment
contract Ballot {
// ^keyword
// ^ type
@@ -20,7 +20,7 @@ contract Ballot {
struct Voter {
// ^ type
uint weight; // weight is accumulated by delegation
-// ^ type
+// ^ type.builtin
// ^ field
bool voted; // if true, that person already voted
address delegate; // person delegated to
@@ -34,7 +34,7 @@ contract Ballot {
}
address public chairperson;
-// ^ type
+// ^ type.builtin
// This declares a state variable that
// stores a `Voter` struct for each possible address.