Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 25dbfa9

Browse files
committed
Fix the enum test
1 parent e89eb1d commit 25dbfa9

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

VVDocumenterTests/VVTestHelper.m

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,9 @@ +(NSArray *) testCodes
3131
@" struct node {",
3232
@"struct objc_object {"];
3333

34-
NSArray *enums = @[@"typedef enum {",
35-
@"enum PlayerStateType : NSInteger {",
36-
@"enum tagname {"];
34+
NSArray *enums = @[@"typedef NS_ENUM {",
35+
@"typedef NS_ENUM \n {",
36+
@" typedef NS_ENUM{"];
3737

3838
NSArray *unions = @[@"union {",
3939
@" union \n {",
@@ -73,9 +73,9 @@ +(NSArray *) uniformCodes
7373
@" struct node {",
7474
@"struct objc_object {"];
7575

76-
NSArray *enums = @[@"typedef enum {",
77-
@"enum PlayerStateType : NSInteger {",
78-
@"enum tagname {"];
76+
NSArray *enums = @[@"typedef NS_ENUM {",
77+
@"typedef NS_ENUM {",
78+
@" typedef NS_ENUM{"];
7979

8080
NSArray *unions = @[@"union {",
8181
@" union {",

0 commit comments

Comments
 (0)