Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lib/protocol: Test for IsEquivalent #4996

Merged
merged 3 commits into from
Jun 8, 2018
Merged

lib/protocol: Test for IsEquivalent #4996

merged 3 commits into from
Jun 8, 2018

Conversation

calmh
Copy link
Member

@calmh calmh commented Jun 8, 2018

Purpose

Specify the current behavior of the function, as there was no test already that I could find.

Testing

Indeed.

Copy link
Member

@imsodin imsodin left a comment

Choose a reason for hiding this comment

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

Nice, thanks!
To state the obvious (I assume it's what triggered this PR): The part about invalid infos of the test will need to be adapted to check for whichever semantics are chosen as discussed in #4952 (comment).

@calmh
Copy link
Member Author

calmh commented Jun 8, 2018

Yep.

@calmh calmh merged commit a467f69 into syncthing:master Jun 8, 2018
@calmh calmh deleted the test branch June 8, 2018 10:03
calmh added a commit to calmh/syncthing that referenced this pull request Jun 8, 2018
* master:
  lib/protocol: Test for IsEquivalent (syncthing#4996)
  gui: Add tabs in device editor (syncthing#4986)
  lib/config, lib/model: Handle shared with information in config (fixes syncthing#4870) (syncthing#4974)
  gui: Restrict shown decimals and restrict size of header columns (syncthing#4973)
  cmd/stfindignored: Default to current directory
  cmd/stfindignored: Make that 2018
  cmd/stfindignored: Add utility
  gui: Hide allowed networks if unused (syncthing#4989)
  lib/protocol: Correct block size calculation on 32 bit archs (fixes syncthing#4990) (syncthing#4991)
  lib/upgrade: Tests should pass on darwin-386
  gui, man: Update docs & translations
  gui: Don't remove the slash from path '/' (fixes syncthing#4983) (syncthing#4988)
  lib/fs: Resolve 8.3 filenames from watcher (ref syncthing#3800) (syncthing#4975)
  lib/scanner: Skip block size hysteresis test in -short mode
  lib/db: Add index to track locally needed files (syncthing#4958)
@calmh calmh added this to the v0.14.49 milestone Jun 11, 2018
@st-review st-review added the frozen-due-to-age Issues closed and untouched for a long time, together with being locked for discussion label Jun 9, 2019
@syncthing syncthing locked and limited conversation to collaborators Jun 9, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
frozen-due-to-age Issues closed and untouched for a long time, together with being locked for discussion
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants