Skip to content

Commit

Permalink
Update skipped tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ephemient committed Dec 20, 2023
1 parent a07a091 commit 272fcc5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions hs/test/Day20Spec.hs
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,12 @@ module Day20Spec (spec) where

import Data.Text (Text)
import qualified Data.Text as T (unlines)
import Day20 (part1)
import Day20 (part1, part2)
import Test.Hspec (Spec, describe, it, pendingWith, shouldBe)

example1, example2 :: Text
example1 = T.unlines
[ -- :r!wl-paste | sed 's/.*/ , "&"/;1s/,/ /'
"broadcaster -> a, b, c"
[ "broadcaster -> a, b, c"
, "%a -> b"
, "%b -> c"
, "%c -> inv"
Expand All @@ -32,3 +31,4 @@ spec = do
describe "part 2" $ do
it "examples" $ do
pendingWith "No examples provided"
part2 "" `shouldBe` Right (Just undefined)
2 changes: 1 addition & 1 deletion py/aoc2023/day20.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ def _loop(machines, dst):

def part2(data):
"""
>>> # part2(SAMPLE_INPUT)
>>> part2(SAMPLE_INPUT) # doctest: +SKIP
"""
machines, dependencies = _parse(data)
if machines.get("broadcast", (None,))[0] is not None:
Expand Down

0 comments on commit 272fcc5

Please sign in to comment.