Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
oakmac committed Oct 20, 2024
1 parent 2c2741c commit 2fc56eb
Show file tree
Hide file tree
Showing 2 changed files with 75 additions and 4 deletions.
74 changes: 73 additions & 1 deletion test_format/ns.eno
Original file line number Diff line number Diff line change
Expand Up @@ -1591,7 +1591,7 @@
#?(:clj (def ^:dynamic *unchecked-arrays* false))
--Expected

# portal.runtime.cson 1
# GitHub Issue #135 - portal.runtime.cson before

--Input
(ns ^:no-doc portal.runtime.cson
Expand Down Expand Up @@ -1655,3 +1655,75 @@

(defprotocol ToJson (-to-json [value buffer]))
--Expected

# GitHub Issue #135 - portal.runtime.cson after

--Input
(ns portal.runtime.cson
"Clojure/Script Object Notation"
{:no-doc true}
(:refer-clojure :exclude [read])
(:require
#?@(:clj
[[portal.runtime.json-buffer :as json]]

:cljr
[[portal.runtime.json-buffer :as json]]

:cljs
[[goog.crypt.base64 :as Base64]
[portal.runtime.json-buffer :as json]
[portal.runtime.macros :as m]]

:joyride
[[portal.runtime.json-buffer :as json]
[portal.runtime.macros :as m]]

:org.babashka/nbb
[[portal.runtime.json-buffer :as json]
[portal.runtime.macros :as m]]))
(:import
#?@(:clj
[(java.net URL)
(java.util Base64 Date UUID)]

:cljs
[(goog.math Long)])))

(defprotocol ToJson (-to-json [value buffer]))
--Input

--Expected
(ns portal.runtime.cson
"Clojure/Script Object Notation"
{:no-doc true}
(:refer-clojure :exclude [read])
(:require
#?@(:clj
[[portal.runtime.json-buffer :as json]]

:cljr
[[portal.runtime.json-buffer :as json]]

:cljs
[[goog.crypt.base64 :as Base64]
[portal.runtime.json-buffer :as json]
[portal.runtime.macros :as m]]

:joyride
[[portal.runtime.json-buffer :as json]
[portal.runtime.macros :as m]]

:org.babashka/nbb
[[portal.runtime.json-buffer :as json]
[portal.runtime.macros :as m]]))
(:import
#?@(:clj
[(java.net URL)
(java.util Base64 Date UUID)]

:cljs
[(goog.math Long)])))

(defprotocol ToJson (-to-json [value buffer]))
--Expected
5 changes: 2 additions & 3 deletions test_parse_ns/parse_ns.eno
Original file line number Diff line number Diff line change
Expand Up @@ -2476,7 +2476,7 @@
}
--Expected

# portal.runtime.cson before
# GitHub Issue #135 - portal.runtime.cson before

--Input
(ns ^:no-doc portal.runtime.cson
Expand Down Expand Up @@ -2598,8 +2598,7 @@
}
--Expected


# portal.runtime.cson after
# GitHub Issue #135 - portal.runtime.cson after

--Input
(ns portal.runtime.cson
Expand Down

0 comments on commit 2fc56eb

Please sign in to comment.