File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed
cabal-install/tests/IntegrationTests2/ProjectConfig Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -29,10 +29,9 @@ parserTests = [
2929 testCase " read packages" testPackages
3030 , testCase " read optional-packages" testOptionalPackages
3131 , testCase " read extra-packages" testExtraPackages
32+ , testCase " read source-repository-package" testSourceRepoList
3233 ]
3334
34- -- Currently I compare the results of legacy parser with the new parser
35- -- When the parser is implemented I will migrate it to compare to actual values
3635testLegacyRead :: Assertion
3736testLegacyRead = do
3837 httpTransport <- configureTransport verbosity [] Nothing
@@ -68,6 +67,13 @@ testOptionalPackages = do
6867 (config, legacy) <- readConfigDefault " optional-packages"
6968 assertConfig expected config legacy (projectPackagesOptional . condTreeData)
7069
70+ testSourceRepoList :: Assertion
71+ testSourceRepoList = do
72+ let expected = [
73+ ]
74+ (config, legacy) <- readConfigDefault " source-repository-packages"
75+ assertConfig expected config legacy (projectPackagesRepo . condTreeData)
76+
7177testExtraPackages :: Assertion
7278testExtraPackages = do
7379 let expected = [
You can’t perform that action at this time.
0 commit comments