Skip to content

Fixes #4089 - #4105

Merged
Jarred-Sumner merged 3 commits into
mainfrom
jarred/deep-equals-url
Aug 21, 2023
Merged

Jarred-Sumner merged 3 commits into
mainfrom
jarred/deep-equals-url

Conversation

@Jarred-Sumner

Copy link
Copy Markdown
Collaborator

What does this PR do?

Fixes #4089

How did you verify your code works?

Automated tests

@github-actions

github-actions Bot commented Aug 10, 2023 •

Copy link
Copy Markdown
Contributor

❌ @Jarred-Sumner 6 files with test failures on bun-darwin-aarch64:

  • test/js/bun/spawn/spawn.test.ts
  • test/js/bun/test/test-test.test.ts
  • test/js/bun/util/filesink.test.ts
  • test/js/node/dns/node-dns.test.js
  • test/js/node/watch/fs.watch.test.ts
  • test/js/web/worker.test.ts

View test output

#80b024023b31b9e5b76f6d8ece35c7c88a950e4f

@github-actions

github-actions Bot commented Aug 10, 2023 •

Copy link
Copy Markdown
Contributor

❌ @Jarred-Sumner 2 files with test failures on linux-x64-baseline:

  • test/js/bun/test/test-test.test.ts
  • test/js/web/fetch/fetch.test.ts

View test output

#80b024023b31b9e5b76f6d8ece35c7c88a950e4f

@github-actions

github-actions Bot commented Aug 10, 2023 •

Copy link
Copy Markdown
Contributor

❌ @Jarred-Sumner 1 files with test failures on linux-x64:

  • test/js/bun/test/test-test.test.ts

View test output

#80b024023b31b9e5b76f6d8ece35c7c88a950e4f

@github-actions

github-actions Bot commented Aug 10, 2023 •

Copy link
Copy Markdown
Contributor

❌ @Jarred-Sumner 5 files with test failures on bun-darwin-x64-baseline:

  • test/js/bun/spawn/spawn-streaming-stdin.test.ts
  • test/js/bun/sqlite/sqlite.test.js
  • test/js/bun/test/test-test.test.ts
  • test/js/third_party/webpack/webpack.test.ts
  • test/js/web/timers/setTimeout.test.js

View test output

#80b024023b31b9e5b76f6d8ece35c7c88a950e4f

Comment thread src/bun.js/bindings/bindings.cpp

@dylan-conway dylan-conway left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM after isStrictEqual change

@Jarred-Sumner
Jarred-Sumner merged commit 752e59f into main Aug 21, 2023
@Jarred-Sumner
Jarred-Sumner deleted the jarred/deep-equals-url branch August 21, 2023 23:25
robobun added a commit that referenced this pull request Oct 1, 2026
…s and the JSDoc

The `deepEquals URLs` test reads every row of its table, and states that a
plain copy of a URL's properties does not equal the URL. That pair was
equal in `toEqual` and not equal in `toStrictEqual` (#4105).

The new tests no longer pin the `Symbol.toStringTag` of `fs.Stats`,
`fs.Dirent`, `req.params` and the `toJSON()` results. The elysia skips in
`test/vendor.json` say how many tests of each file still pass. The
`toEqual` JSDoc states the rule.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

deepEquals returns true for different URLs.

2 participants