ClojureScript

add with-redefs

Details

  • Type: Enhancement Enhancement
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Completed
  • Affects Version/s: None
  • Fix Version/s: None
  • Component/s: None
  • Labels:
    None
  • Patch:
    Code and Test

Description

This is helpful in JVM Clojure for replacing vars for testing purposes (think mocks/stubs).

adding per discussion w/ David Nolen in #clojure IRC

Activity

Hide
Colin Jones added a comment -

This includes an update to binding to avoid ~18 lines of duplication. Happy to prepare a patch with all the duplication rolled back out if there's a good reason for it.

Show
Colin Jones added a comment - This includes an update to binding to avoid ~18 lines of duplication. Happy to prepare a patch with all the duplication rolled back out if there's a good reason for it.

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: