---
title: nonStrict()
framework: xctest
role: symbol
role_heading: Type Method
path: xctest/xctexpectedfailure/options/nonstrict()
---

# nonStrict()

Options that specify that an unfulfilled expected failure doesn’t generate a test failure.

## Declaration

```swift
class func nonStrict() -> XCTExpectedFailure.Options
```

## Return Value

Return Value Returns an options instance that specifies that an unfulfilled expected failure doesn’t generate a test failure.

## See Also

### Specifying Options

- [isEnabled](xctest/xctexpectedfailure/options/isenabled.md)
- [isStrict](xctest/xctexpectedfailure/options/isstrict.md)
