12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- //
- // ZZFoundationTests.m
- // ZZFoundationTests
- //
- // Created by bymiracles@163.com on 12/24/2020.
- // Copyright (c) 2020 bymiracles@163.com. All rights reserved.
- //
- // https://github.com/kiwi-bdd/Kiwi
- #import <Kiwi/Kiwi.h>
- #import <ZZFoundation.h>
- SPEC_BEGIN(StringPath)
- describe(@"StringEx", ^{
- context(@"of cache", ^{
- __block id value = nil;
- beforeEach(^{
- value = [@"fileName" ZZCacheDir];
- });
-
- afterEach(^{
- value = nil;
- });
-
- it(@"should not ne nil", ^{
- [[value shouldNot] beNil];
- });
- it(@"should contain \"fileName\"", ^{
- [[[value lastPathComponent]should] equal:@"fileName"];
- });
-
-
-
- });
-
- });
- SPEC_END
|