test: #import -> #include

Replace `#import` with `#include` as `#import` is a Microsoft type
library inclusion feature on Windows.  This enables additional APINotes
tests to pass on Windows.
This commit is contained in:
Saleem Abdulrasool
2018-11-20 18:42:16 -08:00
parent 24265272fc
commit 4be1c23087
2 changed files with 9 additions and 9 deletions

View File

@@ -30,11 +30,11 @@ __attribute__((objc_root_class))
#endif // __OBJC__
#import <APINotesFrameworkTest/Classes.h>
#import <APINotesFrameworkTest/Enums.h>
#import <APINotesFrameworkTest/Globals.h>
#import <APINotesFrameworkTest/ImportAsMember.h>
#import <APINotesFrameworkTest/Properties.h>
#import <APINotesFrameworkTest/Protocols.h>
#import <APINotesFrameworkTest/Types.h>
#import <APINotesFrameworkTest/SwiftWrapper.h>
#include <APINotesFrameworkTest/Classes.h>
#include <APINotesFrameworkTest/Enums.h>
#include <APINotesFrameworkTest/Globals.h>
#include <APINotesFrameworkTest/ImportAsMember.h>
#include <APINotesFrameworkTest/Properties.h>
#include <APINotesFrameworkTest/Protocols.h>
#include <APINotesFrameworkTest/Types.h>
#include <APINotesFrameworkTest/SwiftWrapper.h>

View File

@@ -1,4 +1,4 @@
#import "app-bridging-header-to-pch.h"
#include "app-bridging-header-to-pch.h"
static inline int unit_test_function(int x) {
return x + 28;