From 1d48b1114d195228c750fd0fcd98cb223c714479 Mon Sep 17 00:00:00 2001 From: Kostis Sagonas Date: Tue, 12 Jun 2018 11:26:00 +0200 Subject: No reason to refer to wxSizer in the test --- lib/hipe/test/basic_SUITE_data/basic_issues_hipe.erl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/hipe') 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; -- cgit v1.2.3