Skip to content
This repository has been archived by the owner on Aug 25, 2023. It is now read-only.

Feedtag test #265

Merged
merged 3 commits into from
Aug 10, 2019
Merged

Feedtag test #265

merged 3 commits into from
Aug 10, 2019

Conversation

sviande
Copy link
Contributor

@sviande sviande commented Aug 9, 2019

Hi this PR:

  • Add test for feedTag.Next()
  • Add info into contributing.md for launching tests

Copy link
Owner

@ahmdrz ahmdrz left a comment

Choose a reason for hiding this comment

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

Thank you so much.

if err == nil {
*ft = newFT
*ft = *newFT
Copy link
Owner

Choose a reason for hiding this comment

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

I have a question. What's the difference between *ft = *newFT and ft = newFT? Both of them are a pointer of FeedTag. So I think you don't need * for it.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes both of them are pointer, they have the same type but we need *ft to update inner value of feedTag.
Please view attached playground https://play.golang.org/p/jVG7TjccB8W

@ahmdrz
Copy link
Owner

ahmdrz commented Aug 9, 2019

Could you please fix the travis problem?
#240

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants