From 32ab46feb13722f5491b2690d0fee3a054ffd3e9 Mon Sep 17 00:00:00 2001 From: Correl Roush Date: Thu, 21 Aug 2014 19:40:41 -0700 Subject: [PATCH] Update deps to use new lfe libraries --- rebar.config | 6 +++--- test/{unit => }/unit-calrissian-error-monad-tests.lfe | 5 +++-- test/{unit => }/unit-calrissian-identity-monad-tests.lfe | 5 +++-- test/{unit => }/unit-calrissian-maybe-monad-tests.lfe | 5 +++-- test/{unit => }/unit-calrissian-state-transformer-tests.lfe | 5 +++-- 5 files changed, 15 insertions(+), 11 deletions(-) rename test/{unit => }/unit-calrissian-error-monad-tests.lfe (90%) rename test/{unit => }/unit-calrissian-identity-monad-tests.lfe (82%) rename test/{unit => }/unit-calrissian-maybe-monad-tests.lfe (90%) rename test/{unit => }/unit-calrissian-state-transformer-tests.lfe (94%) diff --git a/rebar.config b/rebar.config index 46ae791..326eece 100644 --- a/rebar.config +++ b/rebar.config @@ -10,7 +10,7 @@ "src"]} ]}. {deps, [ - {lfe, ".*", {git, "git://github.com/rvirding/lfe.git", "develop"}}, - {'lfe-utils', ".*", {git, "https://github.com/lfe/lfe-utils.git", "master"}}, - {lfeunit, ".*", {git, "git://github.com/lfe/lfeunit.git", "master"}} + {lfe, ".*", {git, "git://github.com/rvirding/lfe.git", {tag, "v0.9.1"}}}, + {lutil, ".*", {git, "https://github.com/lfex/lutil.git", {tag, "0.6.2"}}}, + {ltest, ".*", {git, "git://github.com/lfex/ltest.git", {tag, "0.6.0"}}} ]}. diff --git a/test/unit/unit-calrissian-error-monad-tests.lfe b/test/unit-calrissian-error-monad-tests.lfe similarity index 90% rename from test/unit/unit-calrissian-error-monad-tests.lfe rename to test/unit-calrissian-error-monad-tests.lfe index 37003aa..a5766fd 100644 --- a/test/unit/unit-calrissian-error-monad-tests.lfe +++ b/test/unit-calrissian-error-monad-tests.lfe @@ -1,11 +1,12 @@ (defmodule unit-calrissian-error-monad-tests + (behaviour ltest-unit) (export all) (import - (from lfeunit-util + (from ltest (check-failed-assert 2) (check-wrong-assert-exception 2)))) -(include-lib "deps/lfeunit/include/lfeunit-macros.lfe") +(include-lib "deps/ltest/include/ltest-macros.lfe") (include-lib "include/monads.lfe") (include-lib "include/monad-tests.lfe") diff --git a/test/unit/unit-calrissian-identity-monad-tests.lfe b/test/unit-calrissian-identity-monad-tests.lfe similarity index 82% rename from test/unit/unit-calrissian-identity-monad-tests.lfe rename to test/unit-calrissian-identity-monad-tests.lfe index ea8ccac..4ac9209 100644 --- a/test/unit/unit-calrissian-identity-monad-tests.lfe +++ b/test/unit-calrissian-identity-monad-tests.lfe @@ -1,11 +1,12 @@ (defmodule unit-calrissian-identity-monad-tests + (behaviour ltest-unit) (export all) (import - (from lfeunit-util + (from ltest (check-failed-assert 2) (check-wrong-assert-exception 2)))) -(include-lib "deps/lfeunit/include/lfeunit-macros.lfe") +(include-lib "deps/ltest/include/ltest-macros.lfe") (include-lib "include/monads.lfe") (include-lib "include/monad-tests.lfe") diff --git a/test/unit/unit-calrissian-maybe-monad-tests.lfe b/test/unit-calrissian-maybe-monad-tests.lfe similarity index 90% rename from test/unit/unit-calrissian-maybe-monad-tests.lfe rename to test/unit-calrissian-maybe-monad-tests.lfe index e463b49..65f58b5 100644 --- a/test/unit/unit-calrissian-maybe-monad-tests.lfe +++ b/test/unit-calrissian-maybe-monad-tests.lfe @@ -1,11 +1,12 @@ (defmodule unit-calrissian-maybe-monad-tests + (behaviour ltest-unit) (export all) (import - (from lfeunit-util + (from ltest (check-failed-assert 2) (check-wrong-assert-exception 2)))) -(include-lib "deps/lfeunit/include/lfeunit-macros.lfe") +(include-lib "deps/ltest/include/ltest-macros.lfe") (include-lib "include/monads.lfe") (include-lib "include/monad-tests.lfe") diff --git a/test/unit/unit-calrissian-state-transformer-tests.lfe b/test/unit-calrissian-state-transformer-tests.lfe similarity index 94% rename from test/unit/unit-calrissian-state-transformer-tests.lfe rename to test/unit-calrissian-state-transformer-tests.lfe index 99e1c8a..5d309ea 100644 --- a/test/unit/unit-calrissian-state-transformer-tests.lfe +++ b/test/unit-calrissian-state-transformer-tests.lfe @@ -1,11 +1,12 @@ (defmodule unit-calrissian-state-transformer-tests + (behaviour ltest-unit) (export all) (import - (from lfeunit-util + (from ltest (check-failed-assert 2) (check-wrong-assert-exception 2)))) -(include-lib "deps/lfeunit/include/lfeunit-macros.lfe") +(include-lib "deps/ltest/include/ltest-macros.lfe") (include-lib "include/monads.lfe") (include-lib "include/monad-tests.lfe")