<commit_before>(ns fixturex.core
  "Some helpful macros for using fixtures. These are particularly helpful when
  defining tests. Often times a fixture should only be used for a subset of
  tests in a namespace or even just a couple of contexts in a few tests.
  clojure.text/use-fixtures does not operate at this level of granularity."
  (:require [clojure.test :refer [join-fixtures deftest testing]]))

(defn with-fixtures-fn
  "Join the given fixtures and invoke the given function with them."
  [fixtures f]
  ((join-fixtures fixtures) f))

(defmacro with-fixtures
  "Evaluate the body with the given fixtures."
  [fixtures & body]<commit_msg>fix typo<commit_after>(ns fixturex.core
  "Some helpful macros for using fixtures. These are particularly helpful when
  defining tests. Often times a fixture should only be used for a subset of
  tests in a namespace or even just a couple of contexts in a few tests.
  clojure.test/use-fixtures does not operate at this level of granularity."
  (:require [clojure.test :refer [join-fixtures deftest testing]]))

(defn with-fixtures-fn
  "Join the given fixtures and invoke the given function with them."
  [fixtures f]
  ((join-fixtures fixtures) f))

(defmacro with-fixtures
  "Evaluate the body with the given fixtures."
  [fixtures & body]
{'fraction_non_alphanumeric': 0.07281177381874517, 'fraction_numerical': 0.0, 'mean_word_length': 4.168, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6500738', 'n_tokens_mistral': 382, 'n_tokens_neox': 365, 'n_words': 172}