summaryrefslogtreecommitdiffstats
path: root/erlang-erlware_commons-disable-color_test.patch
diff options
context:
space:
mode:
authorTimothée Floure <timothee.floure@fnux.ch>2018-07-17 15:02:28 +0200
committerTimothée Floure <timothee.floure@fnux.ch>2018-07-17 15:02:28 +0200
commit7bf3c6272e9603e8f0137cbbf13f455ce4289670 (patch)
tree7915caeae211ed56ea679c7d040a73cc6953a5a7 /erlang-erlware_commons-disable-color_test.patch
parent4c7fae9220c534a1920b888f6887861c92d80287 (diff)
downloadrpm-erlang-erlware_commons-7bf3c6272e9603e8f0137cbbf13f455ce4289670.tar.gz
rpm-erlang-erlware_commons-7bf3c6272e9603e8f0137cbbf13f455ce4289670.tar.xz
rpm-erlang-erlware_commons-7bf3c6272e9603e8f0137cbbf13f455ce4289670.zip
Add the erlang-cf dependecy and disable the color_test testHEADmaster
Diffstat (limited to 'erlang-erlware_commons-disable-color_test.patch')
-rw-r--r--erlang-erlware_commons-disable-color_test.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/erlang-erlware_commons-disable-color_test.patch b/erlang-erlware_commons-disable-color_test.patch
new file mode 100644
index 0000000..140b9fe
--- /dev/null
+++ b/erlang-erlware_commons-disable-color_test.patch
@@ -0,0 +1,11 @@
+--- src/ec_cmd_log.erl.orig 2018-07-17 14:05:18.477887930 +0200
++++ src/ec_cmd_log.erl 2018-07-17 14:10:08.866152672 +0200
+@@ -293,8 +293,4 @@
+ ?assertEqual("test",
+ colorize(LogState, ?RED, true, "test")).
+
+-color_test() ->
+- LogState = new(debug, command_line, high),
+- ?assertEqual("\e[1;31m===> test\e[0m",
+- colorize(LogState, ?RED, true, "test")).
+ -endif.