summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authoralisdair sullivan <alisdairsullivan@yahoo.ca>2016-05-23 20:47:04 -0700
committeralisdair sullivan <alisdairsullivan@yahoo.ca>2016-05-23 20:47:04 -0700
commit285d1687f3e9e36e19b018c868401602bbd2c5ea (patch)
tree693bb5d9a15513ce11f532313e5c8f2751777540 /test
parentee47316113901fd81060497934eaa0f22a21bbc9 (diff)
adjust `data_dir_correct` test in ct suite
don't bother checking the profile in the path to the data dir
Diffstat (limited to 'test')
-rw-r--r--test/rebar_ct_SUITE.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/rebar_ct_SUITE.erl b/test/rebar_ct_SUITE.erl
index 1da7571..e409c29 100644
--- a/test/rebar_ct_SUITE.erl
+++ b/test/rebar_ct_SUITE.erl
@@ -726,7 +726,7 @@ suite_at_app_root(Config) ->
data_dir_correct(Config) ->
DataDir = ?config(data_dir, Config),
Parts = filename:split(DataDir),
- ["rebar_ct_SUITE_data","test","rebar","lib","test","_build"|_] = lists:reverse(Parts).
+ ["rebar_ct_SUITE_data","test","rebar","lib",_,"_build"|_] = lists:reverse(Parts).
cmd_label(Config) ->
State = ?config(result, Config),