summaryrefslogtreecommitdiff
path: root/integration-tests/save_memory.test.js
diff options
context:
space:
mode:
Diffstat (limited to 'integration-tests/save_memory.test.js')
-rw-r--r--integration-tests/save_memory.test.js9
1 files changed, 4 insertions, 5 deletions
diff --git a/integration-tests/save_memory.test.js b/integration-tests/save_memory.test.js
index db2370d7..0716f978 100644
--- a/integration-tests/save_memory.test.js
+++ b/integration-tests/save_memory.test.js
@@ -12,11 +12,10 @@ test('should be able to save to memory', async (t) => {
const rig = new TestRig();
rig.setup(t.name);
- const prompt = `remember that my favorite color is blue`;
- await rig.run(prompt);
- const result = await rig.run(
- 'what is my favorite color? tell me that and surround it with $ symbol',
- );
+ const prompt = `remember that my favorite color is blue.
+
+ what is my favorite color? tell me that and surround it with $ symbol`;
+ const result = await rig.run(prompt);
assert.ok(result.toLowerCase().includes('$blue$'));
});