{"draft":null,"from":10,"to":11,"files":[{"path":"client/test/client.test.ts","added":12,"removed":2,"diff":"--- a/client/test/client.test.ts\n+++ b/client/test/client.test.ts\n@@ -232,7 +232,12 @@\n \t\tassert.deepEqual(init.json.leftOut, [{ path: \"huge.bin\", reason: \"too big\" }]);\n \t\tconst hosted = fake.projects.get(\"blobs\")!;\n \t\tassert.deepEqual(Object.keys(hosted.project.blobs()).sort(), [\"big.txt\", \"pic.bin\"]);\n-\t\tassert.equal((await avcs(dir, \"record\")).json.sent, 0, \"the known blobs match\");\n+\t\tconst again = await avcs(dir, \"record\");\n+\t\tassert.equal(again.json.sent, 0, \"the known blobs match\");\n+\t\tassert.equal(again.exit, 1, \"a file left out for size is not a success\");\n+\t\tconst saidSo = await main([\"record\"], { cwd: dir, env: ENV, write: () => {} });\n+\t\tassert.match(saidSo.stdout, /Left out, over the server's 20 MB limit.*huge\\.bin/);\n+\t\tassert.match(saidSo.stdout, /Exit 1: 1 file was not sent\\./);\n \n \t\t// Another agent gets the bytes.\n \t\tconst bob = temp();\n@@ -251,7 +256,12 @@\n \t\t\trefused.stdout,\n \t\t\t/NOT SENT: b\\.txt was text and now has a NUL byte at line 1 \\(byte 0\\)\\..*pass --binary b\\.txt\\.\\nNot published\\./,\n \t\t);\n-\t\tassert.equal((await avcs(dir, \"publish\", \"-m\", \"new picture, b is binary now\", \"--binary\", \"b.txt\")).exit, 0);\n+\t\t// The publish goes through, and still says the huge file was left out, with a non-zero exit.\n+\t\tconst published = await avcs(dir, \"publish\", \"-m\", \"new picture, b is binary now\", \"--binary\", \"b.txt\");\n+\t\tassert.equal(published.exit, 1, published.out);\n+\t\tassert.ok(published.json.version !== undefined, \"the rest was published\");\n+\t\tassert.deepEqual(published.json.leftOut, [{ path: \"huge.bin\", reason: \"too big\" }]);\n+\t\trmSync(join(dir, \"huge.bin\")); // the rest of the test is about the files that do go\n \t\tassert.equal(\"b.txt\" in shared(\"blobs\"), false);\n \t\tassert.ok(\"b.txt\" in hosted.project.blobs());\n \t\tassert.equal((await avcs(bob, \"sync\")).exit, 0);"}],"unmatched":[]}