Skip to content

Commit

Permalink
Phantom fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
jutaro committed Nov 29, 2022
1 parent 5d12a71 commit bcea2ac
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
Expand Up @@ -12,7 +12,7 @@ defaultCardanoConfig :: TraceConfig
defaultCardanoConfig = emptyTraceConfig {
tcOptions = Map.fromList
[([],
[ ConfSeverity (SeverityF (Just Silence))
[ ConfSeverity (SeverityF Nothing) -- Means Silence
, ConfDetail DNormal
, ConfBackend [Stdout MachineFormat
, EKGBackend
Expand Down
2 changes: 0 additions & 2 deletions trace-dispatcher/test/Cardano/Logging/Test/Types.hs
Expand Up @@ -83,15 +83,13 @@ instance MetaTrace Message where
, Namespace ["Test","Message2"]
, Namespace ["Test","Message3"]]


instance Arbitrary Message where
arbitrary = oneof
[ Message1 0 <$> arbitrary,
Message2 0 <$> elements ["Hallo", "Goodbye", "Whatelse"],
Message3 0 <$> arbitrary
]


-- | Adds a time between 0 and 1.
-- 0 is the time of the test start, and 1 the test end
data ScriptedMessage = ScriptedMessage Double Message
Expand Down

0 comments on commit bcea2ac

Please sign in to comment.