mirror of
https://github.com/ryantm/nixpkgs-update.git
synced 2025-01-07 12:00:07 +03:00
fix tests
This commit is contained in:
parent
0c2d0f1c96
commit
29d54a2496
@ -23,10 +23,10 @@ spec = do
|
||||
it "quotes an unquoted meta.homepage URL" do
|
||||
nixQuotedHomepageBad <- T.readFile "test_data/quoted_homepage_bad.nix"
|
||||
nixQuotedHomepageGood <- T.readFile "test_data/quoted_homepage_good.nix"
|
||||
let options = Utils.Options False False "" "" False False False False
|
||||
let options = Utils.Options False False "r-ryantm" "" False False False False
|
||||
let updateEnv = Utils.UpdateEnv "inadyn" "2.5" "2.6" Nothing options
|
||||
-- TODO test correct file is being read
|
||||
let rwArgs = Rewrite.Args updateEnv "inadyn" undefined undefined
|
||||
let rwArgs = Rewrite.Args updateEnv "inadyn" undefined undefined False
|
||||
(logs, (newContents, result)) <-
|
||||
( runFinal
|
||||
. embedToFinal
|
||||
|
@ -18,7 +18,7 @@ spec :: Spec
|
||||
spec = do
|
||||
describe "PR message" do
|
||||
-- Common mock options
|
||||
let options = Utils.Options False False "" "" False False False False
|
||||
let options = Utils.Options False False "r-ryantm" "" False False False False
|
||||
let updateEnv = Utils.UpdateEnv "foobar" "1.0" "1.1" (Just "https://update-site.com") options
|
||||
let isBroken = False
|
||||
let metaDescription = "\"Foobar package description\""
|
||||
|
Loading…
Reference in New Issue
Block a user