aboutsummaryrefslogtreecommitdiffstats
path: root/lib/hipe
diff options
context:
space:
mode:
authorKostis Sagonas <[email protected]>2018-06-12 11:26:00 +0200
committerKostis Sagonas <[email protected]>2018-06-12 11:26:00 +0200
commit1d48b1114d195228c750fd0fcd98cb223c714479 (patch)
tree0caba6e730b8decf63601883dbae877b9d8b8141 /lib/hipe
parent992a1f18934f071858b5e87f32bda5b49bed637d (diff)
downloadotp-1d48b1114d195228c750fd0fcd98cb223c714479.tar.gz
otp-1d48b1114d195228c750fd0fcd98cb223c714479.tar.bz2
otp-1d48b1114d195228c750fd0fcd98cb223c714479.zip
No reason to refer to wxSizer in the test
Diffstat (limited to 'lib/hipe')
-rw-r--r--lib/hipe/test/basic_SUITE_data/basic_issues_hipe.erl6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/hipe/test/basic_SUITE_data/basic_issues_hipe.erl b/lib/hipe/test/basic_SUITE_data/basic_issues_hipe.erl
index 860d882632..fc87abb54e 100644
--- a/lib/hipe/test/basic_SUITE_data/basic_issues_hipe.erl
+++ b/lib/hipe/test/basic_SUITE_data/basic_issues_hipe.erl
@@ -163,13 +163,13 @@ pair(A, B) -> {A, B}.
%%--------------------------------------------------------------------
wxSizer_replace() ->
- wxSizer_replace(wxSizer, wxSizer).
+ wxSizer_replace(?MODULE, ?MODULE).
-define(CLASS(Type, Class), ((Type) =:= Class) orelse (Type):parent_class(Class)).
wxSizer_replace(OldwinT, NewwinT) -> % this function was the culprit
- ?CLASS(OldwinT, wxSizer),
- ?CLASS(NewwinT, wxSizer),
+ ?CLASS(OldwinT, ?MODULE),
+ ?CLASS(NewwinT, ?MODULE),
ok.
parent_class(wxWindow) -> true;