Skip to content

Commit

Permalink
Fix import statements to include proper module names (#57)
Browse files Browse the repository at this point in the history
For cross-module imports, we should be using full module imports.
For consumers that use Cocoapods with multi-Xcodeproj generation, import statements without specifying module are no longer valid.
  • Loading branch information
jmkk authored and oliverhu committed Aug 22, 2019
1 parent e1065b0 commit 50e61d4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion LayoutTest/TestCase/LYTLayoutFailingTestSnapshotRecorder.m
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

#import <LayoutTestBase/LYTConfig.h>
#import "LYTLayoutFailingTestSnapshotRecorder.h"
#import "LYTConfig.h"
#import "LYTLayoutTestCase.h"

void SimpleLog(NSString *format, ...) {
Expand Down
8 changes: 4 additions & 4 deletions LayoutTest/TestCase/LYTLayoutTestCase.m
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

#import <LayoutTestBase/LYTConfig.h>
#import <LayoutTestBase/LYTLayoutPropertyTester.h>
#import <LayoutTestBase/UIView+LYTTestHelpers.h>
#import <LayoutTestBase/LYTAutolayoutFailureIntercepter.h>
#import "LYTLayoutTestCase.h"
#import "LYTConfig.h"
#import "LYTLayoutPropertyTester.h"
#import "UIView+LYTTestHelpers.h"
#import "LYTAutolayoutFailureIntercepter.h"
#import "LYTLayoutFailingTestSnapshotRecorder.h"

NS_ASSUME_NONNULL_BEGIN
Expand Down

0 comments on commit 50e61d4

Please sign in to comment.