hyperfiddle / hyperfiddle/rcf

`expected: :cljs.spec.alpha/invalid` `actual: :cljs.spec.alpha/invalid`

Open
#55 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Clojure
Stars
301
Forks
14
PR merge metrics
No merged PRs in 30d

Description

May be related to https://github.com/hyperfiddle/rcf/issues/27.

(s/def ::my-spec
  (s/conformer (fn [_] ::s/invalid)
               (fn [_])))
(tests
 "test my spec"
 (s/conform ::my-spec "") := ::s/invalid)
test my spec
in (s/conform :app.renderer.ui14/my-spec "")
expected: :cljs.spec.alpha/invalid
  actual: :cljs.spec.alpha/invalid

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the provided tests form and the s/conform call, then compare how expected and actual values are rendered when both are :cljs.spec.alpha/invalid. Check the related rcf issue for context and add a regression test whose output distinguishes the values or reports the intended result.

Written by the indexing model from the issue text.

Assessment

Tech stack
clojure
Domain
testing
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.