Skip to content
This repository was archived by the owner on Apr 1, 2025. It is now read-only.

Commit 68f823e

Browse files
committed
Fix the CLI spec.
1 parent 7696adf commit 68f823e

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

semantic/test/Semantic/CLI/Spec.hs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
module Semantic.CLI.Spec (testTree) where
44

55
import Analysis.File
6+
import Analysis.Reference
67
import Control.Carrier.Parse.Simple
78
import Control.Carrier.Reader
89
import Data.ByteString.Builder
@@ -59,5 +60,5 @@ parseFixtures =
5960
, ("symbols", parseSymbolsBuilder Serializing.Format.JSON, path'', Path.absRel "semantic/test/fixtures/cli/parse-tree.symbols.json")
6061
, ("protobuf symbols", parseSymbolsBuilder Serializing.Format.Proto, path'', Path.absRel "semantic/test/fixtures/cli/parse-tree.symbols.protobuf.bin")
6162
]
62-
where path = [File (Path.absRel "semantic/test/fixtures/ruby/corpus/and-or.A.rb") lowerBound Ruby]
63-
path'' = [File (Path.absRel "semantic/test/fixtures/ruby/corpus/method-declaration.A.rb") lowerBound Ruby]
63+
where path = [File (Reference (Path.absRel "semantic/test/fixtures/ruby/corpus/and-or.A.rb") lowerBound) Ruby]
64+
path'' = [File (Reference (Path.absRel "semantic/test/fixtures/ruby/corpus/method-declaration.A.rb") lowerBound) Ruby]

0 commit comments

Comments
 (0)