You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#expect(doc.description =="A Calculator for simple math doing additionals, subtractions etc.\\n\\nTesting \\\"quoted\\\" stuff. And on multiple lines. \\'single quotes\\'")
241
241
}
242
242
243
+
@Test("Handles parameter descriptions with commas and newlines")
Get reminders from the reminders app with flexible filtering options.
248
+
249
+
- Parameters:
250
+
- completed: If true, fetch completed reminders. If false, fetch incomplete reminders. If not specified, fetch all reminders.
251
+
- startDate: ISO date string for the start of the date range to fetch reminders from
252
+
- endDate: ISO date string for the end of the date range to fetch reminders from
253
+
- listNames: Names of reminder lists to fetch from. If empty or not specified,
254
+
fetches from all lists.
255
+
- searchText: Text to search for in reminder titles
256
+
*/
257
+
"""
258
+
letdoc=Documentation(from: docText)
259
+
#expect(doc.description =="Get reminders from the reminders app with flexible filtering options.")
260
+
#expect(doc.parameters["completed"]=="If true, fetch completed reminders. If false, fetch incomplete reminders. If not specified, fetch all reminders.")
261
+
#expect(doc.parameters["startDate"]=="ISO date string for the start of the date range to fetch reminders from")
262
+
#expect(doc.parameters["endDate"]=="ISO date string for the end of the date range to fetch reminders from")
263
+
#expect(doc.parameters["listNames"]=="Names of reminder lists to fetch from. If empty or not specified, fetches from all lists.")
264
+
#expect(doc.parameters["searchText"]=="Text to search for in reminder titles")
0 commit comments