mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-22 14:38:53 +00:00
bulk code format fix (#8707)
This commit is contained in:
@@ -5,14 +5,15 @@
|
||||
// We pick lodash here not for any particular reason. It could be any package,
|
||||
// really. I chose it because it's a relatively simple package.
|
||||
|
||||
import assert from 'node:assert/strict'
|
||||
|
||||
import _ from 'lodash'
|
||||
import assert from 'node:assert/strict'
|
||||
|
||||
function main() {
|
||||
console.log(_);
|
||||
assert.deepStrictEqual(_.defaults({ 'a': 1 }, { 'a': 3, 'b': 2 }), { 'a': 1, 'b': 2 });
|
||||
assert.deepStrictEqual(_.partition([1, 2, 3, 4], n => n % 2), [[1, 3], [2, 4]]);
|
||||
assert.deepStrictEqual(
|
||||
_.defaults({'a': 1}, {'a': 3, 'b': 2}), {'a': 1, 'b': 2});
|
||||
assert.deepStrictEqual(
|
||||
_.partition([1, 2, 3, 4], n => n % 2), [[1, 3], [2, 4]]);
|
||||
}
|
||||
|
||||
main();
|
||||
|
||||
Reference in New Issue
Block a user