File tree 2 files changed +8
-0
lines changed
2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -45,6 +45,10 @@ import SafeDICore
45
45
46
46
// MARK: Behavior Tests
47
47
48
+ func test_providingMacros_containsInjectable( ) {
49
+ XCTAssertTrue ( SafeDIMacroPlugin ( ) . providingMacros. contains ( where: { $0 == InjectableMacro . self } ) )
50
+ }
51
+
48
52
func test_propertyIsFulfilledByTypeWithStringLiteral_expandsWithoutIssue( ) {
49
53
assertMacro {
50
54
"""
Original file line number Diff line number Diff line change @@ -46,6 +46,10 @@ import SafeDICore
46
46
47
47
// MARK: Behavior Tests
48
48
49
+ func test_providingMacros_containsInstantiable( ) {
50
+ XCTAssertTrue ( SafeDIMacroPlugin ( ) . providingMacros. contains ( where: { $0 == InstantiableMacro . self } ) )
51
+ }
52
+
49
53
func test_extension_expandsWithoutIssueOnTypeDeclarationWhenInstantiableConformanceMissingAndConformsElsewhereIsTrue( ) {
50
54
assertMacro {
51
55
"""
You can’t perform that action at this time.
0 commit comments