Light Mode
Dark Mode
Weird assertions

Hey, some assertions seem pretty weird...

assert.strictEqual(betweenMarkers("", ""), "My new site"); - Empty and not enough arguments but answer is a whole sentence.

assert.strictEqual(betweenMarkers("No ", ">", "<"), ""); - No markers but answer is empty string

assert.strictEqual(betweenMarkers("No one", ">", "<"), "") - Again no markers but answer is empty string

Attachment
Created: Feb. 14, 2023, 7:21 p.m.
Updated: Feb. 14, 2023, 7:21 p.m.
0
9
User avatar
koSiukaS