mastodontech.de ist einer von vielen unabhängigen Mastodon-Servern, mit dem du dich im Fediverse beteiligen kannst.
Offen für alle (über 16) und bereitgestellt von Markus'Blog

Serverstatistik:

1,5 Tsd.
aktive Profile

#expect

0 Beiträge0 Beteiligte0 Beiträge heute
London<p>The Rise of Temporary Jobs in London: What to Expect</p><p>London’s employment landscape has undergone a dramatic transformation over recent years, with temporary work becoming an increasingly prominent…<br><a href="https://pubeurope.com/tags/London" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>London</span></a> <a href="https://pubeurope.com/tags/UnitedKingdom" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>UnitedKingdom</span></a> <a href="https://pubeurope.com/tags/UK" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>UK</span></a> <a href="https://pubeurope.com/tags/GB" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>GB</span></a> <a href="https://pubeurope.com/tags/England" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>England</span></a> <a href="https://pubeurope.com/tags/Headlines" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Headlines</span></a> <a href="https://pubeurope.com/tags/News" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>News</span></a> <a href="https://pubeurope.com/tags/Europe" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Europe</span></a> <a href="https://pubeurope.com/tags/EU" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>EU</span></a> <a href="https://pubeurope.com/tags/Britain" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Britain</span></a> <a href="https://pubeurope.com/tags/expect" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>expect</span></a> <a href="https://pubeurope.com/tags/GreatBritain" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>GreatBritain</span></a> <a href="https://pubeurope.com/tags/in" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>in</span></a> <a href="https://pubeurope.com/tags/jobs" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>jobs</span></a> <a href="https://pubeurope.com/tags/london" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>london</span></a> <a href="https://pubeurope.com/tags/of" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>of</span></a> <a href="https://pubeurope.com/tags/rise" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>rise</span></a> <a href="https://pubeurope.com/tags/temporary" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>temporary</span></a> <a href="https://pubeurope.com/tags/the" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>the</span></a> <a href="https://pubeurope.com/tags/to" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>to</span></a> <a href="https://pubeurope.com/tags/what" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>what</span></a><br><a href="https://www.europesays.com/uk/236814/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://www.</span><span class="">europesays.com/uk/236814/</span><span class="invisible"></span></a></p>
EVSHIFT<p><a href="https://www.evshift.com/328984/what-to-expect-the-new-concept-amg-gt-xx/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://www.</span><span class="ellipsis">evshift.com/328984/what-to-exp</span><span class="invisible">ect-the-new-concept-amg-gt-xx/</span></a> What to Expect | The New CONCEPT AMG GT XX <a href="https://channels.im/tags/AMG" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>AMG</span></a> <a href="https://channels.im/tags/auto" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>auto</span></a> <a href="https://channels.im/tags/automobiles" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>automobiles</span></a> <a href="https://channels.im/tags/autos" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>autos</span></a> <a href="https://channels.im/tags/benz" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>benz</span></a> <a href="https://channels.im/tags/BenzAmg" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>BenzAmg</span></a> <a href="https://channels.im/tags/CARS" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>CARS</span></a> <a href="https://channels.im/tags/Concept" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Concept</span></a> <a href="https://channels.im/tags/DrivingPerformance" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>DrivingPerformance</span></a> <a href="https://channels.im/tags/ElectricCars" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ElectricCars</span></a> <a href="https://channels.im/tags/ElectricVehicles" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ElectricVehicles</span></a> <a href="https://channels.im/tags/EV" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>EV</span></a> <a href="https://channels.im/tags/Expect" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Expect</span></a> <a href="https://channels.im/tags/mercedes" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>mercedes</span></a> <a href="https://channels.im/tags/MercedesBenz" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>MercedesBenz</span></a> <a href="https://channels.im/tags/MercedesBenzAmg" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>MercedesBenzAmg</span></a> <a href="https://channels.im/tags/MercedesAMG" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>MercedesAMG</span></a></p>
EVSHIFT<p><a href="https://www.evshift.com/328349/bmw-in-car-gaming-brings-people-together-especially-the-ones-you-least-expect-%f0%9f%8e%ae-shorts/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://www.</span><span class="ellipsis">evshift.com/328349/bmw-in-car-</span><span class="invisible">gaming-brings-people-together-especially-the-ones-you-least-expect-%f0%9f%8e%ae-shorts/</span></a> <a href="https://channels.im/tags/BMW" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>BMW</span></a> In-Car Gaming brings people together – especially the ones you least expect.* 🎮 <a href="https://channels.im/tags/shorts" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>shorts</span></a> <a href="https://channels.im/tags/bmw" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>bmw</span></a> <a href="https://channels.im/tags/Brings" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Brings</span></a> <a href="https://channels.im/tags/ElectricCars" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ElectricCars</span></a> <a href="https://channels.im/tags/ElectricVehicles" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ElectricVehicles</span></a> <a href="https://channels.im/tags/EV" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>EV</span></a> <a href="https://channels.im/tags/Expect" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Expect</span></a> <a href="https://channels.im/tags/gaming" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>gaming</span></a> <a href="https://channels.im/tags/InCar" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>InCar</span></a> <a href="https://channels.im/tags/People" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>People</span></a> <a href="https://channels.im/tags/shorts" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>shorts</span></a></p>
Bytes Europe<p>Immigration Minister Erica Stanford doesn’t expect new visa to lead to migrant influx <a href="https://www.byteseu.com/1113717/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://www.</span><span class="">byteseu.com/1113717/</span><span class="invisible"></span></a> <a href="https://pubeurope.com/tags/allowing" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>allowing</span></a> <a href="https://pubeurope.com/tags/coming" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>coming</span></a> <a href="https://pubeurope.com/tags/doesnt" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>doesnt</span></a> <a href="https://pubeurope.com/tags/erica" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>erica</span></a> <a href="https://pubeurope.com/tags/expect" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>expect</span></a> <a href="https://pubeurope.com/tags/Governments" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Governments</span></a> <a href="https://pubeurope.com/tags/here" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>here</span></a> <a href="https://pubeurope.com/tags/Immigration" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Immigration</span></a> <a href="https://pubeurope.com/tags/influx" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>influx</span></a> <a href="https://pubeurope.com/tags/lead" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>lead</span></a> <a href="https://pubeurope.com/tags/migrant" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>migrant</span></a> <a href="https://pubeurope.com/tags/migrants" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>migrants</span></a> <a href="https://pubeurope.com/tags/Minister" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Minister</span></a> <a href="https://pubeurope.com/tags/new" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>new</span></a> <a href="https://pubeurope.com/tags/NewZealand" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>NewZealand</span></a> <a href="https://pubeurope.com/tags/not" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>not</span></a> <a href="https://pubeurope.com/tags/parents" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>parents</span></a> <a href="https://pubeurope.com/tags/people" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>people</span></a> <a href="https://pubeurope.com/tags/Sponsor" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Sponsor</span></a> <a href="https://pubeurope.com/tags/STANFORD" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>STANFORD</span></a> <a href="https://pubeurope.com/tags/stay" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>stay</span></a> <a href="https://pubeurope.com/tags/their" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>their</span></a> <a href="https://pubeurope.com/tags/to" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>to</span></a> <a href="https://pubeurope.com/tags/VISA" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>VISA</span></a> <a href="https://pubeurope.com/tags/will" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>will</span></a> <a href="https://pubeurope.com/tags/worried" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>worried</span></a> <a href="https://pubeurope.com/tags/years" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>years</span></a> <a href="https://pubeurope.com/tags/zealand" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>zealand</span></a></p>
Erik<p>In Swift 6.2, Swift Testing can validate process termination! 🎉</p><p>If your code uses `fatalError` or `precondition`, you can validate this with `<a href="https://mastodon.social/tags/expect" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>expect</span></a>(processExitsWith:)`.</p><p><a href="https://developer.apple.com/documentation/testing/expect(processexitswith:observing:_:sourcelocation:performing:)" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">developer.apple.com/documentat</span><span class="invisible">ion/testing/expect(processexitswith:observing:_:sourcelocation:performing:)</span></a></p>
Alo Japan<p><a href="https://www.alojapan.com/1292625/southeast-asian-games-showcase-2025-coffee-talk-tokyo/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://www.</span><span class="ellipsis">alojapan.com/1292625/southeast</span><span class="invisible">-asian-games-showcase-2025-coffee-talk-tokyo/</span></a> Southeast Asian Games Showcase 2025: Coffee Talk&nbsp;Tokyo <a href="https://channels.im/tags/coffee" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>coffee</span></a> <a href="https://channels.im/tags/demo" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>demo</span></a> <a href="https://channels.im/tags/Entry" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Entry</span></a> <a href="https://channels.im/tags/expect" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>expect</span></a> <a href="https://channels.im/tags/later" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>later</span></a> <a href="https://channels.im/tags/news" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>news</span></a> <a href="https://channels.im/tags/Released" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Released</span></a> <a href="https://channels.im/tags/seriescoffee" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>seriescoffee</span></a> <a href="https://channels.im/tags/talk" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>talk</span></a> <a href="https://channels.im/tags/Tokyo" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Tokyo</span></a> <a href="https://channels.im/tags/TokyoNews" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>TokyoNews</span></a> <a href="https://channels.im/tags/trailer" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>trailer</span></a> <a href="https://channels.im/tags/%E6%9D%B1%E4%BA%AC" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>東京</span></a> <a href="https://channels.im/tags/%E6%9D%B1%E4%BA%AC%E9%83%BD" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>東京都</span></a> Tonight at the Southeast Asian Games Showcase, we got a chance to look at the new trailer for Coffee Talk Tokyo. In the trailer, you’ll meet a host of guests who will be visiting your coffee shop, and get an idea of the kind of dynamics you can expect from the latest entry in the</p>
Donny Wals<p>Discover how the <a href="https://chaos.social/tags/expect" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>expect</span></a> macro is used in Swift Testing. Learn to evaluate conditions and manage error handling effectively. Watch the video here: <a href="https://www.youtube.com/watch?v=tlw28ah_85I" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://www.</span><span class="ellipsis">youtube.com/watch?v=tlw28ah_85</span><span class="invisible">I</span></a> and read more: <a href="https://www.donnywals.com/asserting-state-with-expect-in-swift-testing/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://www.</span><span class="ellipsis">donnywals.com/asserting-state-</span><span class="invisible">with-expect-in-swift-testing/</span></a></p>
Hacker News<p>They expect us to keep changing</p><p><a href="https://benv.ca/blog/posts/they-expect-us-to-keep-changing" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">benv.ca/blog/posts/they-expect</span><span class="invisible">-us-to-keep-changing</span></a></p><p><a href="https://mastodon.social/tags/HackerNews" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>HackerNews</span></a> <a href="https://mastodon.social/tags/They" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>They</span></a> <a href="https://mastodon.social/tags/expect" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>expect</span></a> <a href="https://mastodon.social/tags/us" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>us</span></a> <a href="https://mastodon.social/tags/to" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>to</span></a> <a href="https://mastodon.social/tags/keep" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>keep</span></a> <a href="https://mastodon.social/tags/changing" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>changing</span></a> <a href="https://mastodon.social/tags/tech" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>tech</span></a> <a href="https://mastodon.social/tags/trends" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>trends</span></a> <a href="https://mastodon.social/tags/adaptability" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>adaptability</span></a> <a href="https://mastodon.social/tags/change" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>change</span></a> <a href="https://mastodon.social/tags/mindset" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>mindset</span></a> <a href="https://mastodon.social/tags/innovation" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>innovation</span></a></p>
Jonathan Grynspan<p><span class="h-card" translate="no"><a href="https://mastodon.social/@finestructure" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>finestructure</span></a></span> <span class="h-card" translate="no"><a href="https://mastodon.social/@cocoaphony" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>cocoaphony</span></a></span> Is the code in the test function actually throwing an error or just calling <a href="https://hachyderm.io/tags/expect" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>expect</span></a>() (or some such)? If a test function throws an error, it's just thrown naturally until something catches it. If code in Swift Testing catches it (which happens outside the context of test-scoped traits) then the error is recorded as a test issue.</p>
Donny Wals<p>Boost your Swift testing skills! Discover the <span class="h-card" translate="no"><a href="https://chaos.social/@test" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>test</span></a></span> and <a href="https://chaos.social/tags/expect" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>expect</span></a> macros in this video, perfect for crafting readable tests in your projects. Dive in and enhance your testing knowledge: <a href="https://youtu.be/IOr7shA82kw" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">youtu.be/IOr7shA82kw</span><span class="invisible"></span></a></p>
Bytes Europe<p>“How Can Those We Expect to Recognise the TRNC Recognise South <a href="https://www.byteseu.com/943819/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://www.</span><span class="">byteseu.com/943819/</span><span class="invisible"></span></a> <a href="https://pubeurope.com/tags/can" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>can</span></a> <a href="https://pubeurope.com/tags/Cyprus" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Cyprus</span></a> <a href="https://pubeurope.com/tags/CyprusMirror" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>CyprusMirror</span></a> <a href="https://pubeurope.com/tags/expect" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>expect</span></a> <a href="https://pubeurope.com/tags/how" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>how</span></a> <a href="https://pubeurope.com/tags/instead" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>instead</span></a> <a href="https://pubeurope.com/tags/Ozel" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Ozel</span></a> <a href="https://pubeurope.com/tags/recognise" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>recognise</span></a> <a href="https://pubeurope.com/tags/South" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>South</span></a> <a href="https://pubeurope.com/tags/the" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>the</span></a> <a href="https://pubeurope.com/tags/those" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>those</span></a> <a href="https://pubeurope.com/tags/to" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>to</span></a> <a href="https://pubeurope.com/tags/TRNC" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>TRNC</span></a> <a href="https://pubeurope.com/tags/we" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>we</span></a></p>
Michael Tsai<p>Swift Testing: Return Errors From <a href="https://mastodon.social/tags/expect" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>expect</span></a>(throws:)<br><a href="https://mjtsai.com/blog/2025/04/02/swift-testing-return-errors-from-expectthrows/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">mjtsai.com/blog/2025/04/02/swi</span><span class="invisible">ft-testing-return-errors-from-expectthrows/</span></a> <a href="https://mastodon.social/tags/mjtsaiblog" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>mjtsaiblog</span></a></p>
axadle<p><a href="https://mastodon.social/tags/SouthernAfrica" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>SouthernAfrica</span></a> <a href="https://mastodon.social/tags/Africa" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Africa</span></a> <a href="https://mastodon.social/tags/Africans" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Africans</span></a> <a href="https://mastodon.social/tags/budget" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>budget</span></a> <a href="https://mastodon.social/tags/business" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>business</span></a> <a href="https://mastodon.social/tags/BusinessandFinance" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>BusinessandFinance</span></a> <a href="https://mastodon.social/tags/currentevents" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>currentevents</span></a> <a href="https://mastodon.social/tags/Economy" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Economy</span></a> <a href="https://mastodon.social/tags/expect" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>expect</span></a> <a href="https://mastodon.social/tags/governance" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>governance</span></a> <a href="https://mastodon.social/tags/news" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>news</span></a> <a href="https://mastodon.social/tags/politics" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>politics</span></a> <a href="https://mastodon.social/tags/South" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>South</span></a> <a href="https://mastodon.social/tags/SouthAfrica" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>SouthAfrica</span></a> <a href="https://mastodon.social/tags/SouthernAfrica" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>SouthernAfrica</span></a> <a href="https://mastodon.social/tags/sports" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>sports</span></a> <a href="https://mastodon.social/tags/trade" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>trade</span></a> <a href="https://mastodon.social/tags/travel" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>travel</span></a> <a href="https://mastodon.social/tags/Southern" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Southern</span></a> Africa What South Africans Can Expect from the 2025 Budget <br><a href="https://tinyurl.com/27ze4zvx" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">tinyurl.com/27ze4zvx</span><span class="invisible"></span></a></p>
Nick Lockwood<p><span class="h-card" translate="no"><a href="https://iosdev.space/@danielkasaj" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>danielkasaj</span></a></span> <span class="h-card" translate="no"><a href="https://mastodon.social/@nicklockwood" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>nicklockwood</span></a></span> <span class="h-card" translate="no"><a href="https://mastodon.social/@vanvoorden" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>vanvoorden</span></a></span> I was trying to understand why this is better than just putting the try before the <a href="https://mastodon.social/tags/expect" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>expect</span></a>() as I am doing. I understand now though - the issue is that putting try outside the expect sometimes won't compile (in my case it does, so I think it doesn't matter in this case)</p>
Daniel Kasaj<p><span class="h-card" translate="no"><a href="https://mastodon.social/@nicklockwood" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>nicklockwood</span></a></span> <span class="h-card" translate="no"><a href="https://mastodon.social/@vanvoorden" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>vanvoorden</span></a></span> you don’t have to worry if it’s before <a href="https://iosdev.space/tags/expect" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>expect</span></a> or inside the parentheses</p>
Alex Grebenyuk<p><span class="h-card" translate="no"><a href="https://mastodon.social/@nicklockwood" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>nicklockwood</span></a></span> wait a second, <a href="https://mastodon.social/tags/expect" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>expect</span></a> doesn’t require a throw. I mixed it up with something else. Yeah if the expression inside it could throw, I’d expect to put “try” inside the <a href="https://mastodon.social/tags/expect" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>expect</span></a>.</p>
Nick Lockwood<p><span class="h-card" translate="no"><a href="https://iosdev.space/@danielkasaj" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>danielkasaj</span></a></span> <span class="h-card" translate="no"><a href="https://mastodon.social/@vanvoorden" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>vanvoorden</span></a></span> how does the output differ in this approach vs putting the try before the <a href="https://mastodon.social/tags/expect" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>expect</span></a>?</p>
Daniel Kasaj<p><span class="h-card" translate="no"><a href="https://mastodon.social/@vanvoorden" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>vanvoorden</span></a></span> <span class="h-card" translate="no"><a href="https://mastodon.social/@nicklockwood" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>nicklockwood</span></a></span> </p><p>let result = try …<br><a href="https://iosdev.space/tags/expect" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>expect</span></a>(result == expected)</p><p>This is the way</p>
orj<p><span class="h-card" translate="no"><a href="https://mastodon.social/@cocoaphony" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>cocoaphony</span></a></span> <span class="h-card" translate="no"><a href="https://mastodon.social/@dimsumthinking" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>dimsumthinking</span></a></span> note that comments added to <span class="h-card" translate="no"><a href="https://mastodon.social/@Test" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>Test</span></a></span> and <a href="https://mastodon.social/tags/expect" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>expect</span></a> macros are captured as metadata and are printed in logs on test failures. So just keep doing what you’re doing.</p>
Nick Lockwood<p>I just realized I've been putting the `try` in the wrong place in Swift Testing the whole time 😩 It should be:</p><p>try <a href="https://mastodon.social/tags/expect" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>expect</span></a>(result == expected)</p><p>not:</p><p><a href="https://mastodon.social/tags/expect" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>expect</span></a>(try result == expected)</p><p>The stupid thing is that I *knew* about this, and I was careful to be consistent, but I was consistently *wrong*</p>