Skip to content

Commit

Permalink
Fix remaining rename
Browse files Browse the repository at this point in the history
  • Loading branch information
ashton314 committed Oct 15, 2024
1 parent 73cbe78 commit 84948ce
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/Config.jl
Original file line number Diff line number Diff line change
Expand Up @@ -292,8 +292,8 @@ tf_config_injector(inj::InjectorConfig) = tf_config.inj = inj
tf_config_injector(; args...) = patch_config!(tf_config.inj; args...)

"""
config_session(log::SessionConfig)
config_session(; args...)
tf_config_session(log::SessionConfig)
tf_config_session(; args...)
Set the session for the global TrackedFloats configuration instance.
Expand Down
2 changes: 1 addition & 1 deletion test/complex_test.jl
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ end

@testset "events get recorded" begin
tf_init()
config_session(testing=true)
tf_config_session(testing=true)
tmp1 = tempname() # This should automatically get cleaned up
tf_exclude_stacktrace([:kill,:inject])
tf_config_logger(filename=tmp1, buffersize=1, maxFrames=3)
Expand Down
4 changes: 2 additions & 2 deletions test/logger_tests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ f0(n) = f1((n * n - 4.0) / (n - 2.0))

@testset "maxFrames: only print out n stack frames" begin
tf_init()
config_session(testing=true)
tf_config_session(testing=true)
tmp1 = tempname() # This should automatically get cleaned up
tmp2 = tempname()

Expand All @@ -44,7 +44,7 @@ end

@testset "maxLogs: only log n events then stop" begin
tf_init()
config_session(testing=true)
tf_config_session(testing=true)
tmp1 = tempname() # This should automatically get cleaned up
tmp2 = tempname()

Expand Down

0 comments on commit 84948ce

Please sign in to comment.