Invert nil try? assertion in SearchEngines.swift

RESOLVED FIXED

Status

()

Firefox for iOS
Browser
RESOLVED FIXED
2 years ago
2 years ago

People

(Reporter: bnicholson, Assigned: bnicholson)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Assignee)

Description

2 years ago
try? returns a value on success, but we're asserting "listFile == nil", which means we're asserting that the search list file is *not* found.
(Assignee)

Comment 1

2 years ago
Created attachment 8654371 [details] [review]
Link to Github pull-request: https://github.com/mozilla/firefox-ios/pull/991

r=me
Attachment #8654371 - Flags: review+
(Assignee)

Comment 2

2 years ago
https://github.com/mozilla/firefox-ios/commit/922a26de3badcca88fead7b33964e23a70f92b2f
Status: ASSIGNED → RESOLVED
Last Resolved: 2 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.