GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — test: add test for dgram.setTTL by evanlucas · Pull Request #2121 · nodejs/node

Conversation

@evanlucas

@evanlucas evanlucas commented Jul 7, 2015

Copy link
Copy Markdown
Contributor

Verify that passing a non-number will throw and that the argument is
returned on success.

There currently is not a test to verify this functionality.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@evanlucas evanlucas added the test Issues and PRs related to Node.js core tests and test infrastructure. label Jul 7, 2015
@cjihrig

cjihrig commented Jul 7, 2015

Copy link
Copy Markdown
Contributor

LGTM

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@evanlucas

evanlucas commented Jul 7, 2015

Copy link
Copy Markdown
Contributor Author

CI: https://jenkins-iojs.nodesource.com/job/iojs+any-pr+multi/118/

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@mscdex mscdex added the dgram Issues and PRs related to UDP and the dgram module. label Jul 7, 2015
@evanlucas

evanlucas commented Jul 7, 2015

Copy link
Copy Markdown
Contributor Author

The CI failures so far seem unrelated.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

Fishrock123
Fishrock123 reviewed Jul 7, 2015
View reviewed changes
Comment thread test/parallel/test-dgram-setTTL.js Outdated

@Fishrock123 Fishrock123 Jul 7, 2015

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

nit: could be assert.strictEqual(socket.setTTL(16), 16); Or if that's less readable, another const. :)

Also, isn't it better to use strictEqual for this kind of stuff?

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@evanlucas evanlucas Jul 8, 2015

Copy link
Copy Markdown
Contributor Author

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

good point

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@evanlucas
evanlucas force-pushed the dgram-tests branch from 87e31f5 to fe1336e Compare July 8, 2015 00:34
@evanlucas
test: add test for dgram.setTTL
842eb5b
Verify that passing a non-number will throw and that the argument is
returned on success.

PR-URL: nodejs#2121
Reviewed-By: Colin Ihrig <[email protected]>
@evanlucas
evanlucas force-pushed the dgram-tests branch from fe1336e to 842eb5b Compare July 10, 2015 04:27
@evanlucas evanlucas closed this Jul 10, 2015
@evanlucas
evanlucas deleted the dgram-tests branch July 10, 2015 04:27
@evanlucas
evanlucas merged commit 842eb5b into nodejs:master Jul 10, 2015
@evanlucas

evanlucas commented Jul 10, 2015

Copy link
Copy Markdown
Contributor Author

Landed in 842eb5b. Thanks!

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@Fishrock123 Fishrock123 mentioned this pull request Jul 17, 2015
Release Proposal: v2.4.0 #2189
Merged
@aliscco aliscco mentioned this pull request Nov 28, 2023
[Snyk] Fix for 6 vulnerabilities aliscco/alisco-node#658
Open
@leonardoadame leonardoadame mentioned this pull request Nov 28, 2023
[Snyk] Fix for 1 vulnerabilities leonardoadame/node#183
Open
@aliscco aliscco mentioned this pull request Nov 28, 2023
[Snyk] Fix for 1 vulnerabilities aliscco/alisco-node#670
Open
@leonardoadame leonardoadame mentioned this pull request Nov 28, 2023
[Snyk] Fix for 1 vulnerabilities leonardoadame/node#191
Open
@aliscco aliscco mentioned this pull request Nov 28, 2023
[Snyk] Fix for 1 vulnerabilities aliscco/alisco-node#687
Open
This was referenced Nov 28, 2023
[Snyk] Fix for 1 vulnerabilities leonardoadame/node#193
Open
[Snyk] Fix for 1 vulnerabilities leonardoadame/node#202
Open
[Snyk] Fix for 5 vulnerabilities leonardoadame/node#208
Open
This was referenced Nov 29, 2023
[Snyk] Fix for 1 vulnerabilities aliscco/alisco-node#699
Open
[Snyk] Fix for 1 vulnerabilities aliscco/alisco-node#703
Open
[Snyk] Fix for 1 vulnerabilities aliscco/alisco-node#707
Open
[Snyk] Fix for 1 vulnerabilities aliscco/alisco-node#710
Open
This was referenced Nov 29, 2023
[Snyk] Fix for 1 vulnerabilities leonardoadame/node#214
Open
[Snyk] Fix for 1 vulnerabilities leonardoadame/node#224
Open
@aliscco aliscco mentioned this pull request Nov 29, 2023
[Snyk] Fix for 1 vulnerabilities aliscco/alisco-node#733
Open
This was referenced Nov 29, 2023
[Snyk] Fix for 1 vulnerabilities leonardoadame/node#233
Open
[Snyk] Fix for 1 vulnerabilities leonardoadame/node#235
Open
[Snyk] Fix for 1 vulnerabilities leonardoadame/node#236
Open
[Snyk] Fix for 1 vulnerabilities leonardoadame/node#237
Open
This was referenced Nov 29, 2023
[Snyk] Fix for 1 vulnerabilities aliscco/alisco-node#745
Open
[Snyk] Fix for 1 vulnerabilities aliscco/alisco-node#779
Open
[Snyk] Fix for 6 vulnerabilities aliscco/alisco-node#782
Open
[Snyk] Fix for 1 vulnerabilities aliscco/alisco-node#783
Open
This was referenced Nov 29, 2023
[Snyk] Fix for 1 vulnerabilities leonardoadame/node#267
Draft
[Snyk] Fix for 1 vulnerabilities leonardoadame/node#287
Open
[Snyk] Fix for 6 vulnerabilities leonardoadame/node#288
Open
This was referenced Nov 30, 2023
[Snyk] Fix for 1 vulnerabilities aliscco/alisco-node#821
Open
[Snyk] Fix for 1 vulnerabilities aliscco/alisco-node#848
Open
This was referenced May 14, 2024
[Snyk] Security upgrade ava from 0.25.0 to 2.0.0 aliscco/alisco-node#1446
Open
[Snyk] Security upgrade ava from 0.25.0 to 2.0.0 aliscco/alisco-node#1447
Open
This was referenced May 14, 2024
[Snyk] Security upgrade ava from 0.25.0 to 2.0.0 leonardoadame/node#893
Open
[Snyk] Security upgrade ava from 1.4.1 to 2.0.0 leonardoadame/node#900
Open
This was referenced May 15, 2024
[Snyk] Security upgrade ava from 0.21.0 to 2.0.0 aliscco/alisco-node#1501
Open
[Snyk] Security upgrade ava from 0.16.0 to 2.0.0 aliscco/alisco-node#1511
Open
@leonardoadame leonardoadame mentioned this pull request May 16, 2024
[Snyk] Security upgrade ava from 0.21.0 to 2.0.0 leonardoadame/node#962
Open
@aliscco aliscco mentioned this pull request May 16, 2024
[Snyk] Fix for 2 vulnerabilities aliscco/alisco-node#1574
Open
@leonardoadame leonardoadame mentioned this pull request May 16, 2024
[Snyk] Security upgrade ava from 1.4.1 to 2.0.0 leonardoadame/node#968
Open
@aliscco aliscco mentioned this pull request May 18, 2024
[Snyk] Security upgrade ava from 0.17.0 to 2.0.0 aliscco/alisco-node#1622
Open
@leonardoadame leonardoadame mentioned this pull request May 23, 2024
[Snyk] Security upgrade ava from 0.25.0 to 2.0.0 leonardoadame/node#1047
Open
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

dgram Issues and PRs related to UDP and the dgram module. test Issues and PRs related to Node.js core tests and test infrastructure.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

5 participants

@evanlucas @cjihrig @thefourtheye @Fishrock123 @mscdex
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.