ClojureDocs

Nav

Namespaces

Clojure/Conj 2026 — Charlotte, NC — Sept 30 - Oct 2 Learn More & Get Tickets →

file-position

clojure.test

Available since 1.1 (source)
  • (file-position n)
Returns a vector [filename line-number] for the nth call up the
stack.
 Deprecated in 1.2: The information needed for test reporting is
now on :file and :line keys in the result map.