Skip to content

Instantly share code, notes, and snippets.

View lksoft's full-sized avatar

Scott Little lksoft

View GitHub Profile

Keybase proof

I hereby claim:

  • I am lksoft on github.
  • I am littleknown (https://keybase.io/littleknown) on keybase.
  • I have a public key whose fingerprint is 84D2 A8BF E046 E7F2 95EB 9968 C516 1B39 6325 586B

To claim this, I am signing this object:

@lksoft
lksoft / ticket.json
Created November 2, 2016 20:42
Result of client.get('ticket')
{"errors":{},"ticket":{"description":"adasdasdasdas","id":987,"isNew":false,"updatedAt":"Tue Nov 01 2016 00:43:37 GMT+0100 (CET)","createdAt":"Tue Nov 01 2016 00:43:37 GMT+0100 (CET)","collaborators":[],"comment":{"useRichText":false,"attachments":[],"type":"publicReply"},"editor":{},"comments":[{"id":44381296610,"value":"<div class=\"zd-comment\">\n<p dir=\"auto\">adasdasdasdas</p>\n<p dir=\"auto\">Developer and Support at Little Known</p>\n</div>","author":{"id":474110391,"email":"scott@littleknownsoftware.com","name":"Scott Little","locale":"en-US","notes":"","details":"","alias":"","signature":"Developer and Support at Little Known","avatarUrl":"https://smallcubed.zendesk.com/system/photos/8125/7792/SJL-Bratislava-200-Square.jpg","timeZone":{"name":"Saskatchewan","translatedName":"Saskatchewan","ianaName":"America/Regina","offset":-360,"formattedOffset":"GMT-06:00"},"tags":[],"role":"admin","externalId":null,"groups":[{"id":22029941,"name":"Support"}],"organizations":[{"id":29026141,"tags":[],"name":"Smal
@lksoft
lksoft / gist:7cfe22ab8b9086d919d5321b1f7ae1d6
Created April 26, 2021 12:45
Example XCTTest value diffed
((createdHTML) equal to (@"<sc-token type=\"url\" id=\"TEST-IDENTIFIER-INCORRECT\" src=\"https://smallcubed.com/MyFile.json\" description=\"My File\">URL: My File</sc-token>")) failed: ("<sc-token type="url" id="TEST-IDENTIFIER" src="https://smallcubed.com/MyFile.json" description="My File">URL: My File</sc-token>") is not equal to ("<sc-token type="url" id="TEST-IDENTIFIER-INCORRECT" src="https://smallcubed.com/MyFile.json" description="My File">URL: My File</sc-token>")
Here is an image of what that looks like in Xcode:
https://s3.us-east-1.amazonaws.com/media.littleknownsoftware.com/images/Xcode%20XCTest%20fail.png